JPH0523099B2 - - Google Patents

Info

Publication number
JPH0523099B2
JPH0523099B2 JP58023472A JP2347283A JPH0523099B2 JP H0523099 B2 JPH0523099 B2 JP H0523099B2 JP 58023472 A JP58023472 A JP 58023472A JP 2347283 A JP2347283 A JP 2347283A JP H0523099 B2 JPH0523099 B2 JP H0523099B2
Authority
JP
Japan
Prior art keywords
data
code
register
storage means
code 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.)
Expired - Lifetime
Application number
JP58023472A
Other languages
Japanese (ja)
Other versions
JPS59148467A (en
Inventor
Koji Takane
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP58023472A priority Critical patent/JPS59148467A/en
Priority to US06/577,992 priority patent/US4819079A/en
Priority to DE19843404436 priority patent/DE3404436A1/en
Priority to FR848402143A priority patent/FR2541013B1/en
Priority to GB08403835A priority patent/GB2138184B/en
Publication of JPS59148467A publication Critical patent/JPS59148467A/en
Publication of JPH0523099B2 publication Critical patent/JPH0523099B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/005Statistical coding, e.g. Huffman, run length coding
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/40Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
    • H03M7/42Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code using table look-up for the coding or decoding process, e.g. using read-only memory
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/46Conversion to or from run-length codes, i.e. by representing the number of consecutive digits, or groups of digits, of the same kind by a code word and a digit indicative of that kind
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction
    • H04N1/411Bandwidth or redundancy reduction for the transmission or storage or reproduction of two-tone pictures, e.g. black and white pictures
    • H04N1/413Systems or arrangements allowing the picture to be reproduced without loss or modification of picture-information
    • H04N1/419Systems or arrangements allowing the picture to be reproduced without loss or modification of picture-information in which encoding of the length of a succession of picture-elements of the same value along a scanning line is the only encoding step

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Processing (AREA)

Description

【発明の詳細な説明】 技術分野 本発明は電子フアイル等に適用可能なデータ圧
縮装置に関する、とくに入力データに所定論理に
従つた圧縮処理を行ない、圧縮データを形成する
データ圧縮装置に関するものである。
[Detailed Description of the Invention] Technical Field The present invention relates to a data compression device applicable to electronic files, etc., and particularly relates to a data compression device that performs compression processing on input data according to a predetermined logic to form compressed data. .

従来技術 従来、被写体から読取つたデジタル画像信号等
の冗長度の高い2値データを所定の論理に従つ
て、圧縮処理を行なう技術が知られている。例え
ば、電話回線を用いて画像伝送を行なう、いわゆ
るフアクシミリ装置においては、圧縮技術を導入
することによつて、伝送データ量を減少させ、伝
送時間の短縮化を計つている。
BACKGROUND ART Conventionally, a technique is known in which highly redundant binary data such as a digital image signal read from an object is compressed according to a predetermined logic. For example, in so-called facsimile devices that transmit images using telephone lines, compression technology is introduced to reduce the amount of data to be transmitted and to shorten the transmission time.

また、近年、大量の画像データを記憶可能なレ
ーザデイスクや磁気デイスクを用いた電子画像フ
アイル装置も提案されているが、圧縮技術を導入
すれば、これらの記憶媒体の記憶容量を実質的に
増加せしめることとなり、有効である。
In addition, in recent years, electronic image file devices using laser disks and magnetic disks that can store large amounts of image data have been proposed, but if compression technology is introduced, the storage capacity of these storage media can be substantially increased. This is an effective way to encourage people to act.

ところで、データ圧縮方式として、モデイフア
イド・ハフマン方式(M・H方式)がよく知られ
ている。この方式は一般に元のデジタル画像デー
タの白又は黒データと連続個数、いわゆるランレ
ングス長を測定し、この結果に従つて画像データ
をモデイフアイドホフマンコード(M・Hコー
ド)に変換するものである。
By the way, the Modified Huffman method (M.H. method) is well known as a data compression method. This method generally measures the number of white or black data and the so-called run length of the original digital image data, and converts the image data into a modified Hoffman code (MH code) according to the results. be.

このM.Hコードのそのコード長は一定のもの
ではなく、ランレングスに対応した2ピツトから
13ピツトまでのピツト長の不揃いなものとなる。
従つて、このM.Hコードをつなぎ合わせバイト
或いはワード単位にバツキングする処理は容易で
はない。
The chord length of this MH chord is not constant, and it starts from 2 pits corresponding to the run length.
Up to 13 pits with irregular pit lengths.
Therefore, it is not easy to connect these MH codes and back them in byte or word units.

従来、前述したフアクシミリ装置では原稿画像
の読取走査時間がそれほど高速度である必要がな
く、また、原稿走査のための機械的動作を間欠的
に行なうことができることを利用し、M.Hコー
ドのつなぎ合わせ処理をマイクロコンピユータ等
を用い低速で行なつていた。
Conventionally, the above-mentioned facsimile machines do not require a very high scanning speed to read the original image, and also take advantage of the fact that the mechanical operation for scanning the original can be performed intermittently. Processing was performed at low speed using microcomputers.

近年、電子フアイル等において、高速なデータ
処理、伝送が望まれる様になつており、これに伴
つてM.Hデータの処理を高速且つリアルタイム
で実行する必要が生じてきた。しかしながら、従
来の処理方式ではこの要求に完全に対応すること
ができず、これが高速化の妨げとなつている。
In recent years, high-speed data processing and transmission in electronic files and the like has become desired, and as a result, it has become necessary to process MH data at high speed and in real time. However, conventional processing methods cannot completely meet this demand, and this is an impediment to speeding up.

目 的 本発明は以上の点に鑑みてなされたものであ
り、電子フアイル等における高速のデータ処理、
伝送の要求に対し、充分に応じることのできるデ
ータ圧縮装置を提供することを目的とするもので
ある。
Purpose The present invention has been made in view of the above points, and includes high-speed data processing in electronic files, etc.
The object of the present invention is to provide a data compression device that can sufficiently meet transmission requests.

実施例 以下、図面を用いて本発明を更に詳細に説明す
る。
EXAMPLES Hereinafter, the present invention will be explained in more detail with reference to the drawings.

第1図は本発明を電子フアイル装置おける原稿
画像取装置に適用した一実施例の構成を示すもの
である。原稿10は不図示の照明装置によつて照
射され、原稿10からの反射光はレンズ11によ
つてCCDからなるイメージセンサ12に結像さ
れる。イメージセンサ12は原稿の巾方向に複数
の光電変換素子が並べられたもので、入力光量に
応じた電気信号をシリアルに出力する。イメージ
センサ12の出力はアンプ13で増巾された後、
A/D変換器14において白及び黒レベルを示す
2値信号いの画像データに変換される。A/D変
換器14からの2値信号はデータ圧縮回路20に
入力される。データ圧縮回路20では、ランレン
グスカウンタ21によつて入力2値信号の白又は
黒の連続個数をカウントする。このカウント値と
白黒状態を示す信号を入力とするM.Hエンコー
ダ22は周知の変換デーブルに従つて、M.H応
コード25及びM.Hコードのコード長を示すデ
ータ24をパツキング回路23に出力する。パツ
キング回路23はコード長データ24を用いて、
入力するコード長が不統一なM.Hコード25の
つなぎ合わせ処理を行なつて、所定有効コード長
(例えば8ピツト)のデータを形成し、順次出力
する。データ圧縮回路20から順次出力されるデ
ータはバツフアメモリ15において、シリアルな
信号として出力される。この出力信号は例えば光
デイスク等のフアイル装置に記憶されたり電話回
線により遠隔地の受信部に伝送されたりする。従
つて小容量のデイスクにデータの高速フアイルが
可能となる。
FIG. 1 shows the configuration of an embodiment in which the present invention is applied to a document image capturing device in an electronic file device. The original 10 is illuminated by an illumination device (not shown), and reflected light from the original 10 is imaged by a lens 11 on an image sensor 12 made of a CCD. The image sensor 12 has a plurality of photoelectric conversion elements arranged in the width direction of the document, and serially outputs an electric signal according to the amount of input light. After the output of the image sensor 12 is amplified by the amplifier 13,
The A/D converter 14 converts the image data into binary signal data indicating white and black levels. A binary signal from the A/D converter 14 is input to a data compression circuit 20. In the data compression circuit 20, the run length counter 21 counts the number of consecutive white or black signals in the input binary signal. The MH encoder 22, which receives this count value and a signal indicating the monochrome state, outputs an MH response code 25 and data 24 indicating the code length of the MH code to the packing circuit 23 in accordance with a well-known conversion table. The packing circuit 23 uses the code length data 24 to
The input MH codes 25 having different code lengths are connected to form data of a predetermined effective code length (for example, 8 pits), and are sequentially output. The data sequentially output from the data compression circuit 20 is output as a serial signal in the buffer memory 15. This output signal is stored in a file device such as an optical disk, or transmitted to a remote receiving unit via a telephone line. Therefore, high-speed data files can be stored on a small-capacity disk.

第2図は第1図示のデータ圧縮回路20の詳細
な一構成例を示す回路図である。本回路例は前述
の如くシリアルな原画像データをモデイフアイド
ハフマン(M.H)コードに変換し、更に、これ
ら変換されたピツト長(コード長)がまちまちの
M.Hコードデータをバツキングして所定有効長、
即ち1バイト巾の並列データに直し電子フアイル
等に出力するものである。
FIG. 2 is a circuit diagram showing a detailed configuration example of the data compression circuit 20 shown in FIG. As mentioned above, this circuit example converts serial original image data into modified Huffman (MH) codes, and furthermore, the converted pit lengths (code lengths) are different.
By backing the MH code data, the predetermined effective length,
That is, the data is converted into 1-byte parallel data and output to an electronic file or the like.

原稿読取によつて得たシリアルな原画像データ
VIDEOはR.L(ランレングス)カウンタ21に入
力し、白及び黒のランレングス長が割り出され
る。また、同時に入力信号が白レベルのものが黒
レベルのものかが判断される。割り出されたラン
レングス長データR.L及び白、黒状態を示す信号
TSはM.H(モデイフアイドハフマン)符号変換
テーブルを格納するROMメモリからなるM.Hエ
ンコーダ22のアドレスラインに入力される。
M.Hエンコーダ22は、際同13ピツトのM.H
コードに変換するとともにその有効コード長を4
ピツト信号を発生する。(例えばM.Hコード0011
であればM.H符号変換テーブルの出力はM.Hコ
ードMCとして0011×××××××××(×は任
意)、コード長LCとして4(0100)と云う具合で
ある。) 上記発生されたM.HコードMC及び有効コード
長LCはパツキング回路23に入力され、まず一
旦、FIFO(フアーストイン・フアーストアウトバ
ツフアメモリ)31に格納される。
Serial original image data obtained by scanning the manuscript
The VIDEO is input to an RL (run length) counter 21, and the run lengths of white and black are determined. At the same time, it is determined whether the input signal is at white level or at black level. Determined run length data RL and signals indicating white and black status
The TS is input to the address line of an MH encoder 22 consisting of a ROM memory that stores an MH (Modified Huffman) code conversion table.
The MH encoder 22 is a 13-pit MH encoder.
Convert the effective code length to 4
Generates pit signal. (For example MH code 0011
In this case, the output of the MH code conversion table is 0011××××××××× (× is arbitrary) as the MH code MC, and 4 (0100) as the code length LC. ) The generated MH code MC and effective code length LC are input to the packing circuit 23 and are first stored in a FIFO (first-in/first-out buffer memory) 31.

尚、上述したR.Lカウンタ21、M.Hエンコー
ダ22及びFIFO31の一連の動作は原画像デー
タVIDEOの転送速度(クロツクφ)に合せてリ
アルタイム、例えば、一定速度の読取動作と同時
に行なわれる。
The series of operations of the RL counter 21, MH encoder 22, and FIFO 31 described above are performed in real time, for example, simultaneously with the reading operation at a constant speed in accordance with the transfer rate (clock φ) of the original image data VIDEO.

FIFO31よりM.HコードMC及び有効コード
長LCが読み出され、MHコードのつなぎ合せ、
即ちピツトハンドリングが行なわれる。ここにお
いて、FIFO31からの読出し及びピツトハンド
リングの動作速度はMH変換によるデータの膨張
等を考慮して原画像データの転送速度の2倍以
上、本実施例では2倍の2φである。また、あま
り高速にするとデータ供給に対して処理の休み時
間が発生するので、それ程必要としない。
The MH code MC and effective code length LC are read out from FIFO31, and the MH code is connected.
That is, pit handling is performed. Here, the operating speed of reading from the FIFO 31 and pit handling is more than twice the transfer speed of the original image data, taking into consideration data expansion due to MH conversion, and in this embodiment is 2φ, which is twice the transfer speed of the original image data. Also, if the speed is set too high, processing down time will occur for data supply, so it is not necessary to do so.

FIFO31より取り出されたM.HコードMCは
レジスタB32よりレジスタC33に順次移動さ
れてゆき、最終的に8ピツト即ち、1バイトにパ
ツキングされる。しかしながら、M.HコードMC
はそのランレングスによりまちまちのコード長で
あるので、これにピツトつなぎ合せの処理を施す
必要がある。これをマルチブレクサP34とマル
チブレクサQ35の2つの1/8マルチブレクサを
用いて行なう。尚、図中、マルチブレクサP34
の×印は未使用状態を示す。
The MH code MC taken out from the FIFO 31 is sequentially moved from the register B32 to the register C33, and is finally packed into 8 pits, that is, 1 byte. However, MH code MC
have different chord lengths depending on their run lengths, so it is necessary to perform pit-joining processing on them. This is done using two 1/8 multiplexers, multiplexer P34 and multiplexer Q35. In addition, in the figure, multiple plexer P34
The × mark indicates an unused state.

マルチブレクサQ35は既にレジスタC33に
格納されたM.HコードMCの下位に、レジスタB
32に格納されている後続のM.HコードMCをつ
め込む役目を果す。
The multiplexer Q35 inputs the register B below the MH code MC already stored in the register C33.
It serves to store the subsequent MH code MC stored in 32.

また、マルチブレクサP34はレジスタB32
によりレジスタC33に取り込まれたペツト数
分、レジスタB32のピツトを上位方向にシフト
する役目を果す。
In addition, the multiplexer P34 is connected to the register B32.
It serves to shift the pits of register B32 upward by the number of pits taken into register C33.

有効コード長はマルチブレクサ40を介して、
カウントレジスタX36に取込まれる。そして更
に加算回路37とカウントレジスタY38により
累積加算される。この加算結果によつて、レジス
トC33に最終的にいくつのピツト分のデータが
つめ込まれているかが判断される。
The effective code length is determined via the multiplexer 40.
It is taken into count register X36. Then, the addition circuit 37 and the count register Y38 perform cumulative addition. Based on the result of this addition, it is determined how many pits of data are finally packed into the resist C33.

マルチブレクサQ35はカウントレジスタY3
8の内容を示す信号SLCにより、レジスタB32
のデータピツトをレジスタC33のいくつ下位の
ピツトから取り込むかが指示される。
Multiplexer Q35 is count register Y3
By signal SLC indicating the contents of 8, register B32
It is specified how many lower pits in register C33 the data pit is to be fetched from.

尚、レジスタC33は有限のピツト数(本回路
例でば8ピツト)のものである為、レジスタB3
2に格納されているデータピツトを全てレジスタ
C33に取り込みきれない場合、即ち、オーバフ
ローが生じる。この場合、レジスタC33に取り
込まれなかつた残りのデータピツトはレジスタB
32にとどまる事になる。このとき、この残余ピ
ツト数はカウントレジスタX36の値と減算回路
41との値を入力する減算回路39で計算され、
加算回路37からのオーバフロー信号OFによつ
て選択動作するマルチブレクサ40を通して、カ
ウントレジスタX36に再セツトされる。これに
より、新規にFIFO31からレジスタB32にデ
ータピツトがセツトされた場合と同じ状態とな
る。
Note that since register C33 has a finite number of pits (8 pits in this circuit example), register B3
If all the data pits stored in the register C33 cannot be captured into the register C33, an overflow occurs. In this case, the remaining data pits that were not taken into register C33 are stored in register B.
He will remain at 32. At this time, the number of remaining pits is calculated by the subtraction circuit 39 which inputs the value of the count register X36 and the value of the subtraction circuit 41.
It is reset in the count register X36 through the multiplexer 40 which is selectively operated by the overflow signal OF from the adder circuit 37. This results in the same state as when a data pit is newly set from the FIFO 31 to the register B32.

又、レジスタB32の残余データピツトはレジ
スタC33に取り込まれたピツト分、レジスタB
32の上位方向につめる必要がある。そこで、何
ピツトのデータがジスタC33に取り込まれたか
を有効ピツト数(8ピツト)とカウントレジスタ
Y38の値とを入力する減算回路41にて計算す
る。そして、この減算結果をマルチブレクサP3
4の選択信号SLBとして入力し、上位方向への
レジスタB32のシフト動作を行なう。
Also, the remaining data pits in register B32 are the same as the pits taken into register C33.
It is necessary to fill in the upper direction of 32. Therefore, how many pits of data have been taken into the register C33 is calculated by the subtraction circuit 41 which inputs the number of effective pits (8 pits) and the value of the count register Y38. Then, the result of this subtraction is applied to multiple plexer P3.
4 is input as the selection signal SLB, and the register B32 is shifted in the upward direction.

マルチブレクサP34はこのレジスタC33の
オーバフロー時を除いては動作しない。従つて、
レジスタC33のオーバフローがない間コードデ
ータはFIFO34→レジスタB32→(マルチブ
レクサQ35によるシフト)→レジスタC33と
移動されるのみである。
Multiplexer P34 does not operate except when register C33 overflows. Therefore,
While there is no overflow in register C33, the code data is only moved from FIFO 34 to register B32 (shifted by multiplexer Q35) to register C33.

ところでレジスタC33のオーバフロー時、
FIFO31からのコードデータ読出し動作は停止
される。しかしながら、つなぎ合せ動作は継続す
る。即ち、レジスタB32の残余ピツトをマルチ
ブレクサP34を使用して上位方向へつめる動作
の併行してレジスタC33の下位へレジスタB3
2のピツトの一部をつめ込む。(この場合、レジ
スタC33には完全に1バイトのデータがパツク
し終える。) また、FIFO31よりバツフア“空”の信号が
出ることがある。このときはピツトつなぎ合せの
処理が画像データの供給に追いついた場合であ
り、ピツトつなぎ合せ動作を一旦停止する。
By the way, when register C33 overflows,
The code data reading operation from FIFO 31 is stopped. However, the stitching operation continues. That is, in parallel with the operation of filling the remaining pits of register B32 upward using the multiplexer P34, the remaining pits of register B32 are transferred to the lower register C33.
Fill in part of the pit from step 2. (In this case, one byte of data has been completely packed into the register C33.) Also, a buffer "empty" signal may be output from the FIFO31. At this time, the pit stitching process has caught up with the supply of image data, and the pit stitching operation is temporarily stopped.

第3図aにマルチブレクサP34とレジスタB
32、第3図bにマルチブレクサQ35とレジス
タC33の入出力関係を示す。また第4図に
FIFO31、レジスタB32及びレジスタC33
の動作タイムチヤートを示す。
Figure 3a shows multiplexer P34 and register B.
32. FIG. 3b shows the input/output relationship between the multiplexer Q35 and the register C33. Also in Figure 4
FIFO31, register B32 and register C33
This shows the operation time chart.

このように、FIFO31に取り込まれたコード
データに対し、レジスタC33へのデータつめ込
め動作と、レジスタB32におけるシフト動作を
含むデータ取込みとが順次行なわれることになる
(スフト動作はレジスタB32に残余データが無
い場合は行なわれない)。また、FIFO31へのコ
ードデータ格納速度φに対して、このつめ込み動
作及びシフト動作を2倍の速度2φとすることに
より、M.H変換のデータ膨張をも考慮した高速
なリアルタイム処理が可能となる。
In this way, for the code data taken into the FIFO 31, the data filling operation to the register C33 and the data loading including the shift operation to the register B32 are performed sequentially (the swift operation is performed by loading the remaining data into the register B32). (If there is no, it will not be performed). Furthermore, by setting the packing operation and shift operation at a speed 2φ, which is twice the code data storage rate φ in the FIFO 31, high-speed real-time processing can be performed in consideration of data expansion in MH conversion.

以上説明した様に、M.Hエンコーダ22から
に出力されるコード長の不揃いなMHコードを
FIFO31に入力し、その後のデータ処理におい
てはMHコードを並列データとして取扱いピツト
つなぎ合せ処理の時間短縮を達成せしめることが
できる。従つて、処理速度を合せて、画像読取動
作を制限することなく、入力する読取信号に対す
る圧縮処理がリアルタイムに実行される。
As explained above, MH codes with uneven code lengths output from the MH encoder 22 are
The MH code is input to the FIFO 31 and in subsequent data processing, the MH code is handled as parallel data and the time required for pit connection processing can be shortened. Therefore, the compression process for the input read signal can be executed in real time without restricting the image reading operation at the same processing speed.

尚、本実施例では1バイト単位にM.Hコード
データをバツキング処理したが、これに限るもの
ではなく、後続する電子フアイル等の処理装置或
いはデータ転送の規格に応じて1ワード単位とし
たり、数バイト単位とすることもできる。また、
この場合はそのパツキング量に適したマルチブレ
クサを用いることは当然であるが、マルチブレク
サQ35によるピツトつめ込み処理及びマルチブ
レクサP34によるシフト動作は同様の構成にて
達成できるものである。
In this embodiment, the MH code data is processed in units of 1 byte, but the process is not limited to this. Depending on the processing device such as the subsequent electronic file or the data transfer standard, the MH code data may be processed in units of 1 word or several bytes. It can also be a unit. Also,
In this case, it is natural to use a multiplexer suitable for the amount of packing, but the pit packing process by the multiplexer Q35 and the shifting operation by the multiplexer P34 can be achieved with the same configuration.

また、データ処理速度はデータ供給素度の2倍
以上でも良い。
Furthermore, the data processing speed may be twice or more the data supply rate.

また、バツキング処理すべきデータは画像読取
データをMHコード変換したものの他に、他の圧
縮論理で圧縮したデータや、半導体メモリ、磁気
メモリ等から読出したデータを所定論理に従つて
データ変換したもの等、種々のデータ出力装置か
ら出力されるデータ長の不揃いなデータのバツキ
ング処理に応用できることは言うまでもない。
In addition, the data to be subjected to backing processing is not only image read data converted into MH code, but also data compressed using other compression logic, data read from semiconductor memory, magnetic memory, etc., and data converted according to a predetermined logic. Needless to say, the present invention can be applied to backing processing of data with uneven data length output from various data output devices.

効 果 以上の様に、本発明によれば、パラレルの不定
長のコードデータを格納する第1のの格納手段か
ら所定表単位でコードデータを出力する第2の格
納手段に、コードデータを格納する際に、不定長
のコードデータのコード長とコードデータの出力
に応じて第2の格納手段のデータ格納状態を検知
し、そのデータの格納状態に従つて、第2格納手
段への格納位置を選択して、パラレルのコードデ
ータを瞬時にシフトさせるので、符号化手段から
出力される不定長のコードデータを所定長のコー
ドデータにパツキングする処理を高速に行なうこ
とができる。
Effects As described above, according to the present invention, code data is stored from the first storage means that stores parallel code data of undefined length to the second storage means that outputs the code data in units of predetermined tables. When storing the data, the data storage state of the second storage means is detected according to the code length of the code data of indefinite length and the output of the code data, and the storage position in the second storage means is determined according to the data storage state. Since the parallel code data is instantaneously shifted by selecting , the process of packing the code data of indefinite length output from the encoding means into code data of a predetermined length can be performed at high speed.

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

第1図は本発明を原稿読取装置に適用した一実
施例の構成を示す図、第2図は第1図示のデータ
圧縮回路20の詳細な一構成例を示す回路図、第
3図a及びbは入出力関係を示す図、第4図は第
2図示回路の動作タイミングを示すタイムチヤー
ト図であり、21はRLカウンタ、22はM.Hエ
ンコーダ、23はバツキング回路、31はFIFO、
32はレジスタB、33はレジスタC、34はマ
ルチブレクサP、35はマルチブレクサQ、36
はカウントレジスタX、37は加算回路、38は
カウントレジスタY、39,41は減算回路、4
0はマルチブレクサである。
FIG. 1 is a diagram showing the configuration of an embodiment in which the present invention is applied to a document reading device, FIG. 2 is a circuit diagram showing a detailed configuration example of the data compression circuit 20 shown in FIG. 1, and FIGS. b is a diagram showing the input/output relationship, and FIG. 4 is a time chart showing the operation timing of the circuit shown in the second diagram, 21 is an RL counter, 22 is an MH encoder, 23 is a bucking circuit, 31 is a FIFO,
32 is register B, 33 is register C, 34 is multiplexer P, 35 is multiplexer Q, 36
is a count register X, 37 is an addition circuit, 38 is a count register Y, 39 and 41 are subtraction circuits, 4
0 is a multiplexer.

Claims (1)

【特許請求の範囲】 1 シリアルに入力するデータを所定の符号化方
式により符号化し、不定長のコードデータとして
パラレルに出力する符号化手段と、 上記符号化手段からのパラレルのコードデータ
の最長のデータを格納可能であり、格納したコー
ドデータをパラレルに出力する第1の格納手段
と、 上記第1の格納手段からのパラレルのコードデ
ータを格納し、所定長単位でコードデータをパラ
レルに出力する第2の格納手段と、 上記第1の格納手段から上記第2の格納手段に
コードデータを格納する際に、パラレルのコード
データの格納位置を選択し、パラレルのコードデ
ータをシフトして格納させる選択手段と、 上記第1の格納手段に格納されるコードデータ
のコード長と上記第2の格納手段によるコードデ
ータの出力に応じて上記第2の格納手段のデータ
の格納状態を検知し、そのデータの格納状態に従
つて上記選択手段による格納位置の選択動作を制
御する制御手段とを有することを特徴とするデー
タ圧縮装置。
[Claims] 1. Encoding means for encoding serially input data using a predetermined encoding method and outputting it in parallel as code data of undefined length; and a first storage means that is capable of storing data and outputs the stored code data in parallel; and a first storage means that stores the parallel code data from the first storage means and outputs the code data in parallel in predetermined length units. a second storage means; when storing code data from the first storage means to the second storage means, selects a storage position of the parallel code data, and shifts and stores the parallel code data; a selection means; detecting the storage state of data in the second storage means according to the code length of the code data stored in the first storage means and the output of the code data by the second storage means; A data compression device comprising: control means for controlling a storage position selection operation by the selection means according to a data storage state.
JP58023472A 1983-02-14 1983-02-14 Data compressor Granted JPS59148467A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP58023472A JPS59148467A (en) 1983-02-14 1983-02-14 Data compressor
US06/577,992 US4819079A (en) 1983-02-14 1984-02-08 Data processing apparatus
DE19843404436 DE3404436A1 (en) 1983-02-14 1984-02-08 DATA PROCESSING DEVICE
FR848402143A FR2541013B1 (en) 1983-02-14 1984-02-13 DATA PROCESSING APPARATUS AND IMAGE DATA ARCHIVING APPARATUS
GB08403835A GB2138184B (en) 1983-02-14 1984-02-14 Data compression

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58023472A JPS59148467A (en) 1983-02-14 1983-02-14 Data compressor

Publications (2)

Publication Number Publication Date
JPS59148467A JPS59148467A (en) 1984-08-25
JPH0523099B2 true JPH0523099B2 (en) 1993-03-31

Family

ID=12111469

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58023472A Granted JPS59148467A (en) 1983-02-14 1983-02-14 Data compressor

Country Status (5)

Country Link
US (1) US4819079A (en)
JP (1) JPS59148467A (en)
DE (1) DE3404436A1 (en)
FR (1) FR2541013B1 (en)
GB (1) GB2138184B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2503988B2 (en) * 1986-08-22 1996-06-05 富士ゼロックス株式会社 Image coding device
US4992954A (en) * 1987-08-05 1991-02-12 Hitachi, Ltd. Method of storing character patterns and character pattern utilization system
GB2221126A (en) * 1988-07-15 1990-01-24 Tai Her Yang The automatic prestore double speed modulation, transmission demodulation and recording remote control transfer system of FAX and telegraph
KR930006750B1 (en) * 1989-06-29 1993-07-23 삼성전자 주식회사 Coding appalatus of video data
EP0412809B1 (en) * 1989-08-09 1995-12-13 Fujitsu Limited Data compression system
JP2877375B2 (en) * 1989-09-14 1999-03-31 株式会社東芝 Cell transfer method using variable rate codec
US5291303A (en) * 1990-01-16 1994-03-01 Canon Kabushiki Kaisha Facsimile apparatus
JP3013381B2 (en) * 1990-03-28 2000-02-28 ソニー株式会社 Variable length data decoding device
JP2922571B2 (en) * 1990-04-05 1999-07-26 キヤノン株式会社 Data conversion circuit
EP0474444B1 (en) * 1990-09-04 1999-12-01 Canon Kabushiki Kaisha Image processing method and apparatus
GB2260428B (en) * 1991-10-11 1995-03-08 Sony Broadcast & Communication Data Formatter
KR0162197B1 (en) * 1992-05-30 1998-12-15 강진구 Image data variable length coding and decoding method and device
GB2270603B (en) * 1992-09-09 1996-07-24 Sony Broadcast & Communication Data formatting
JPH07107303A (en) * 1993-09-30 1995-04-21 Nec Corp Decoding method for huffman code
GB2294173B (en) * 1994-10-11 1998-12-09 Mitsubishi Electric Corp Disk media, and method of and device for recording and playing back information on or from a disk media
DE69516674T2 (en) * 1994-12-20 2000-12-28 Koninkl Philips Electronics Nv METHOD AND DEVICE FOR RECORDING AND PLAYING BACK DATA IN A STORAGE SYSTEM
JP3310525B2 (en) * 1995-06-01 2002-08-05 ビー・イー・テクノロジー株式会社 Digital data processing device
US10775206B2 (en) 2016-05-24 2020-09-15 Quicklogic Corporation Sensor hub batch packing

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5723363A (en) * 1980-05-13 1982-02-06 Eiemu Intern Inc Method and device for compressing expanding facsimile transmission system data

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3701111A (en) * 1971-02-08 1972-10-24 Ibm Method of and apparatus for decoding variable-length codes having length-indicating prefixes
US3717851A (en) * 1971-03-03 1973-02-20 Ibm Processing of compacted data
US3883847A (en) * 1974-03-28 1975-05-13 Bell Telephone Labor Inc Uniform decoding of minimum-redundancy codes
US4099257A (en) * 1976-09-02 1978-07-04 International Business Machines Corporation Markov processor for context encoding from given characters and for character decoding from given contexts
FR2396479A1 (en) * 1977-06-30 1979-01-26 Cit Alcatel REDUNDANCY REDUCTION FAC-SIMILE TRANSMISSION INSTALLATION
US4353096A (en) * 1978-10-05 1982-10-05 Nippon Electric Co., Ltd. Digital facsimile system to band-compress half-tone picture signals
US4376933A (en) * 1979-02-22 1983-03-15 Xerox Corporation Circuit for compacting data
CA1211219A (en) * 1982-06-30 1986-09-09 Hideo Kuroda Digital data code conversion circuit for variable- word-length data code
US4533956A (en) * 1982-09-17 1985-08-06 Minnesota Mining And Manufacturing Co. Apparatus for converting facsimile coded data to video data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5723363A (en) * 1980-05-13 1982-02-06 Eiemu Intern Inc Method and device for compressing expanding facsimile transmission system data

Also Published As

Publication number Publication date
DE3404436C2 (en) 1991-12-05
US4819079A (en) 1989-04-04
GB8403835D0 (en) 1984-03-21
GB2138184B (en) 1987-06-24
FR2541013B1 (en) 1990-03-30
GB2138184A (en) 1984-10-17
JPS59148467A (en) 1984-08-25
DE3404436A1 (en) 1984-08-16
FR2541013A1 (en) 1984-08-17

Similar Documents

Publication Publication Date Title
JPH0523099B2 (en)
US8610793B2 (en) Electronic camera that reduces processing time by performing different processes in parallel
CN1937696A (en) Image signal processing apparatus and method
EP1158807B1 (en) Data stream conversion apparatus and method, variable length coded data stream generation apparatus and method, and camera system
JPH088647B2 (en) Run-length coding method and apparatus
JP2004186978A (en) Method and device for data write and digital camera
JP4487454B2 (en) Electronic camera and control IC for electronic camera
US20060244992A1 (en) Image processor of imaging apparatus
JP4822507B2 (en) Image processing apparatus and apparatus connected to image processing apparatus
JPS60100872A (en) Picture processor
JPS59216368A (en) Picture processing device
JP5194242B2 (en) Image processing apparatus and apparatus connected to image processing apparatus
JPS5958972A (en) Data compressor
JPS60100873A (en) Picture processor
CN100409657C (en) Image processing method and device
JP4424160B2 (en) Image processing apparatus and program
TW417394B (en) JPEG interface model and method capable of reading a predetermined image data from an A/D converter to the memory of JPEG integrated circuit for storage
EP1173926B1 (en) Device for compressing/decompressing bit strings
JPS5994966A (en) Picture data compressing device
JPS60194672A (en) Run-length encoding device
JPH029272A (en) Encoding device
JPH02238777A (en) Picture data compressor
JPH0131830B2 (en)
JPH07298063A (en) Image processing unit
JP2000013787A (en) Image processor