JPS59216368A - Picture processing device - Google Patents

Picture processing device

Info

Publication number
JPS59216368A
JPS59216368A JP9089783A JP9089783A JPS59216368A JP S59216368 A JPS59216368 A JP S59216368A JP 9089783 A JP9089783 A JP 9089783A JP 9089783 A JP9089783 A JP 9089783A JP S59216368 A JPS59216368 A JP S59216368A
Authority
JP
Japan
Prior art keywords
data
page
code
address
memory
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
JP9089783A
Other languages
Japanese (ja)
Inventor
Kazutoshi Hisada
久田 加津利
Hiroshi Shinoda
信田 弘志
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 JP9089783A priority Critical patent/JPS59216368A/en
Priority to GB08413304A priority patent/GB2142797B/en
Priority to DE19843419448 priority patent/DE3419448A1/en
Priority to FR8408125A priority patent/FR2546694B1/en
Publication of JPS59216368A publication Critical patent/JPS59216368A/en
Priority to US07/581,205 priority patent/US5022088A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32358Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device using picture signal storage, e.g. at transmitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3285Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device using picture signal storage, e.g. at transmitter
    • H04N2201/3288Storage of two or more complete document pages or image frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3285Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device using picture signal storage, e.g. at transmitter
    • H04N2201/3298Checking or indicating the storage space

Abstract

PURPOSE:To make high-speed data processing and transmission by compressing and encoding picture data to store it in a storage device and performing processings of storing and reading transmission operations for every page of an original. CONSTITUTION:The picture signal inputted in serial from an original 10 by an image sensor 12 is converted to a binary signal by an A/D converter 14 and is inputted to a data compressing circuit 20. An MH code 25 and data 24 informing the code length of the MH code are outputted to a packing circuit 23 by a run length counter 21 and an MH encoder 22, and a joining processing of the code 25 is performed to form data having a prescribed effective code length, and these data are outputted successively. This output signal is stored in a buffer memory 15. An address controller 100 controls the storage into the memory and stores address data in an RAM 102 when one-page components of original are stored completely, and this data is read out from the memory as the start address of the second page to transmit stored data of the first page successively during the storage operation of the second page.

Description

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

従来技術 従来、被写体から読取ったデジタル画像信号等の冗長度
の高い2値データを所定の論理に従って、圧縮処理を行
なう技術が知られている。例えば、電話回線を用いて画
像伝送を行な5、いわゆるファクシミリ装置においては
、圧縮技術を導入することによって、伝送データ量を減
少させ、伝送時間の短縮化を計っている。
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 machines that transmit images using telephone lines5, 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 uses the so-called run length length, which is the number of consecutive white or black data in the original digital image data. is measured, and the image data is converted into a modified Hoffman code (MH code) according to the result.

このM@Hコードのそのコード長は一定のものではな(
、ランレングスに対応した2ビツトから13ビツトまで
のビット長の不揃いなものとなる。
The code length of this M@H code is not constant (
, the bit length varies from 2 bits to 13 bits corresponding to the run length.

従って、このM−Hコードをつなぎ合わせバイト或いは
ワード単位にバッキングする処理は容易では、ない。
Therefore, it is not easy to connect the MH codes and back them in byte or word units.

従来、前述したファクシミリ装置でけMj TAi画像
の読取走査時間がそれほど高速度である必要がな(、ま
た、原稿走査のための機械的動作を間欠的に行なうこと
ができることを利用し、M、Hコードのつなぎ合わせ処
理をマイクロコンピュータ等を用い低速で行なっていた
Conventionally, the above-mentioned facsimile machine does not require a very high scanning speed for reading Mj TAi images (also, by utilizing the fact that the mechanical operation for document scanning can be performed intermittently, The process of joining H codes was performed at low speed using a microcomputer or the like.

近年、電子ファイル等において、高速なデータ処理、伝
送が望まれる様になっており、これに伴ってM、Hデー
タの処理を高速且つリアルタイムで実行する必要が生じ
てきた。しかしながら、従来の処理方式ではこの要求に
完全に対応することができず、これが高速化の妨げとな
っている。
In recent years, high-speed data processing and transmission of electronic files and the like has become desired, and as a result, it has become necessary to process M and H 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 the processing.

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

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

第1図は本発明を電子ファイル装置における原稿画像読
取装置に適用した一実施例の構成を示すものである。原
稿10は不図示の照明装置によって照射され、原稿1o
からの反射光はレンズ11によってCCDからなるイメ
ージセンサ12に結像される。イメージセンサ12け原
稿の巾方向に複数の光電変換素子が並べられたもので、
入力光量に応じた電気信号をシリアルに出力する。イメ
ージセンサ12の出力はアンプ16で増巾された後、A
/D変換器14において白及び黒レベルを示す2値化号
の画像データに変換される。A/D変換器14からの2
値化号はデータ圧縮回路2oに入力される。データ圧縮
回路2oては、ランレングスカウンタ21によって入力
2値信号の白又は黒の連続個数をカウントする。このカ
ウント値と白黒状態を示す信号を入力とするM、Hエン
コーダ22は周知の変換テーブルに従って、M、Hコー
ド25及びM、Hコードのコード長を示すデータ24を
パフキング回路26に出方する。バッキング回路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 reading device in an electronic filing device. The original 10 is illuminated by an illumination device (not shown), and the original 1o
The reflected light is focused by a lens 11 onto an image sensor 12 consisting of a CCD. A 12-image sensor with multiple photoelectric conversion elements arranged in the width direction of the document.
Serially outputs electrical signals according to the amount of input light. After the output of the image sensor 12 is amplified by the amplifier 16,
The /D converter 14 converts the image data into binary image data indicating white and black levels. 2 from A/D converter 14
The digitization code is input to the data compression circuit 2o. In the data compression circuit 2o, a run length counter 21 counts the number of consecutive white or black signals in the input binary signal. The M, H encoder 22 which receives this count value and a signal indicating the monochrome state outputs the M, H code 25 and data 24 indicating the code length of the M, H code to the puffing circuit 26 according to a well-known conversion table. . The backing circuit 23 uses the code length data 24 to perform a process of splicing the input M and H codes 25 whose code lengths are inconsistent.
Data of a predetermined effective code length (for example, 8 bits) is formed and sequentially output. 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, a high-speed file of data is possible 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. This circuit example converts serial original image data into modified Huffman (M, H) codes as described above, and then backs these converted M and H code data with different bit lengths (code lengths). The data is converted into parallel data of a predetermined effective length, that is, 1 byte width, and outputted to an electronic file or the like.

原稿読取によって得たシリアルな原画像データVIDE
OId Rol、 (ランレングス)カウンタ21に入
力し、白及び黒のランレングス長が割り出される。
Serial original image data VIDE obtained by scanning the manuscript
OId Rol, (run length) is input to the counter 21, and the run length lengths of white and black are determined.

また、同時に入力信号が白レベルのものか黒レベルのも
のかが判断される。割り出されたジンレングス長データ
R,L及び白、黒状態を示す信号TSはM、11 (モ
ディファイドハフマン)符号変換テーブルヲ格納するR
、0MメモリからなるM、Hエンコーダ22のアドレス
ラインに入力される。M、Hエンコーダ22 )J:、
ffjt大16ビツトのM。IIコードに変換するとと
もにその有効コード長を示す4ビット信号を発生する。
At the same time, it is determined whether the input signal is of white level or black level. The determined gin length data R, L and the signal TS indicating the white and black states are stored in M and 11 (Modified Huffman) code conversion table is stored in R.
, 0M memories are input to the address lines of the M, H encoder 22. M, H encoder 22) J:,
ffjt Large 16-bit M. It converts into II code and generates a 4-bit signal indicating its effective code length.

(例えばM。■■コードが0011であればM、H符号
変換テーブルの出力はM、HコードMCとして0011
xxXxxxxxx(xは任意)、コード長LC’とし
て4’(0100)と云5具合である。)上記発生され
たM。■(コードMC及び有効コード長LCはバッキン
グ回路26に入力され、まず一旦、FIFO(ファース
トイン・ファーストアウトバッファメモリ)61に格納
される。
(For example, if the M. ■■ code is 0011, the output of the M, H code conversion table is 0011 as the M, H code MC.
xxXxxxxxxxx (x is arbitrary), and the code length LC' is 4' (0100). ) M generated above. (2) The code MC and effective code length LC are input to the backing circuit 26 and are first stored in a FIFO (first-in/first-out buffer memory) 61.

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

FIFO31よりM、HコードM C及び有効コード長
1.Cが読み出され、MHコードのつなぎ合せ、即ちビ
ットハンドリングが行なわれる。ここにおいて、FIF
O31からの読出し及びピットハンドリングの動作速度
は■\4 I−1変換によるデータの膨張等を考慮して
原画像データの転送速度の2倍以上、本実施例では2倍
の2φである。また、あまり高速にするとデータ供給に
対して処理の休み時間が発生するので、それ程必要とし
ない。
M, H code MC and effective code length 1 from FIFO31. C is read out and the MH codes are connected, ie, bit handling is performed. Here, FIF
The operation speed of reading from O31 and pit handling is more than twice the transfer speed of the original image data, taking into consideration data expansion due to ■\4I-1 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はレジ
スタB52よりレジスタ(13に順次移動されてゆき、
最終的に8ピット即ち、1バイトにバッキングされる。
The M and H codes MC taken out from the FIFO 31 are sequentially moved from the register B52 to the register (13).
Finally, it is backed up into 8 pits, ie, 1 byte.

しかしながら、M、HコードMCはそのランレングスに
よりまちまちのコード長であるので、これにビットつな
ぎ合せの処理を施す必要がある。これをマルチプレクサ
P34とマルチプレクサQ35の2つの1/8マルチプ
レクザを用いて行なう。尚、図中、マルチプレクサP乙
4のX印は未使用状態を示す。
However, since the M and H codes MC have different code lengths depending on their run lengths, it is necessary to perform bit splicing processing on them. This is done using two 1/8 multiplexers, multiplexer P34 and multiplexer Q35. In addition, in the figure, the X mark of multiplexer P24 indicates an unused state.

マルチプレクサQ35は既にレジスタC33に格納され
たM、HコードMCの下位に、レジスタB62に格納さ
れている後続のM、HコードMCをつめ込む役目を果す
The multiplexer Q35 serves to pack the subsequent M, H code MC stored in the register B62 into the lower order of the M, H code MC already stored in the register C33.

また)マルチプレクサP34uレジスタB32よシレジ
スタC33に取り込まれたビット数分、レジスタB32
のビットを上位方向にシフトする役目を果す。
Also, the number of bits taken into multiplexer P34u register B32 and register C33 is
It plays the role of shifting the bits in the upper direction.

有効コード長はマルチプレクサ4oを介して、カウント
レジスタX36に取込まれる。そして更に加算回路67
とカウントレジスタY38により累債加算される。この
加算結果によって、レジス、りC53に最終的にいくつ
のビット分のデータがつめ込まれているかが判断される
The effective code length is taken into count register X36 via multiplexer 4o. Furthermore, the addition circuit 67
The accumulated debt is added by the count register Y38. Based on the result of this addition, it is determined how many bits of data are finally stored in the register C53.

マルチプレクサQ65はカウントレジスタY3Bの内容
を示す信号SLCにより、レジスタB32のデータビッ
トをレジスタC33のい(っ下位のビットから取染込む
かが指示される。
Multiplexer Q65 is instructed by signal SLC indicating the contents of count register Y3B to take in the data bits of register B32 from the lower bits of register C33.

尚、レジスタC33H有限のビット数(本回路例では8
ビツト)のものである為、レジスタB32に格納されて
いるデータビットを全てレジスタC66に取り込みきれ
ない場合、即ち、オーパフ′6−が生じる。この場合、
レジスタC66に取り込まれなかった残りのデータビッ
トはレジスタB′52にとどまる事になる。このとき、
この残余ビット数はカウントレジスタX66の値と減算
回路41との値を入力とする減算回路39で計算され、
加算回路37からのオーバフロー信号OFによって選択
動作するマルチプレクサ40を通して、カウントレジス
タX56に再セットされる。これにより、新規にPIF
O31からレジスタB32にデータ1ビツトがセットさ
れた場合と同じ状態となる。
Note that the finite number of bits in register C33H (8 in this circuit example)
Therefore, if all the data bits stored in the register B32 cannot be taken into the register C66, an overpuff '6-' occurs. in this case,
The remaining data bits not captured in register C66 will remain in register B'52. At this time,
This remaining number of bits is calculated by a subtraction circuit 39 which receives the value of the count register X66 and the value of the subtraction circuit 41 as input.
It is reset in the count register X56 through the multiplexer 40 which is selectively operated by the overflow signal OF from the adder circuit 37. As a result, a new PIF
The state is the same as when 1 bit of data is set from O31 to register B32.

又、レジスタB32の残余データビットはレジスタC3
3に取り込まれたビット分、レジスタB′52の上位方
向につめる必要がある。そこで、何ビットのデータがレ
ジスタ033に取9込まれたかを有効ビット数(8ピツ
ト)とカウントレジスタY、158の値とを入力とする
雇算回路41にて計算する。そして、この減算結果をマ
ルチプレクサP34の選択信号8LBとして入力し、上
位方向へのレジスタB32のシフト動作を行なう。
Also, the remaining data bits of register B32 are stored in register C3.
It is necessary to fill in the upper part of the register B'52 by the amount of bits taken into the register B'52. Therefore, how many bits of data have been taken into register 033 is calculated by calculation circuit 41 which receives the number of effective bits (8 bits) and the value of count register Y, 158 as input. Then, this subtraction result is input as the selection signal 8LB to the multiplexer P34, and the register B32 is shifted in the upper direction.

マルチプレクサP541−!このレジスタC35のオー
バフロ一時を除いては動作しない。従って、レジスタC
33のオーバフローがない間コードデータqFIFO3
1→レジスタB32→(マルチプレクサQ55によるシ
フト)→レジスタC33と移動されるのみセある。
Multiplexer P541-! It does not operate except when register C35 overflows. Therefore, register C
Code data qFIFO3 while there is no overflow of 33
1→register B32→(shift by multiplexer Q55)→register C33.

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

第3図(a)にマルチプレクサP34とレジスタB32
、第3図(b)にマルチプレクサQ35とレジスタC3
3の入出力関係を示す。また第4図にPIFO31、レ
ジスタB32及びレジスタC33の動作タイムチー?−
)を示す。
FIG. 3(a) shows multiplexer P34 and register B32.
, FIG. 3(b) shows multiplexer Q35 and register C3.
3 shows the input/output relationship. Also, FIG. 4 shows the operation time chart of PIFO31, register B32, and register C33. −
) is shown.

このように、FIFO31に取り込まれたコードデータ
に対し、レジスタC33へのデータつめ込み動作と、レ
ジスタB32におけるシフト動作を含むデータ取込みと
が順次行なわれることになる(シフト動作はレジスタB
ろ2に残余データが無い場合順なわれない、)。・また
、FIFO61へのコードデータが格納速度φに対して
、このつめ込み動作及びシフト動作を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 taking including the shift operation in the register B32 are performed sequentially (the shift operation is performed in the register B32).
(If there is no residual data in filter 2, the order will not be processed.)・Also, by making the packing operation and shift operation twice as fast as 2φ compared to the storage speed φ of code data to the FIFO 61, high-speed real-time processing that also takes into account the data expansion of M and H conversion can be achieved. becomes possible.

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

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

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

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

第1図のメモリ15につき詳述する。これは符号化され
たデータを格納するメモリで通信回線を使ってデータを
伝送するときに有効である。これは32Mバイトの容量
を有し、原稿1枚のデータは約2Mバイトなので原稿約
16枚分のデータを格納できる。しかし、原稿情報とし
て文字がつまった様な複雑なものであると圧縮しても2
〜6枚程度しか゛格、納できないデータ列になることが
ある。
The memory 15 shown in FIG. 1 will be described in detail. This is effective when transmitting data using a communication line in a memory that stores encoded data. This has a capacity of 32 Mbytes, and since the data for one original is about 2 Mbytes, it can store data for about 16 originals. However, if the manuscript information is complicated, such as packed with characters, even if it is compressed, it will not work.
There may be cases where the data string can only be stored in about 6 sheets.

また単W、1原稿であると逆に20枚以上格納できるこ
ともある。従ってメモリに原稿毎の格納領域を予じめ設
定したもので祉不経済極まりない。
Moreover, if it is a single width and one document, it may be possible to store 20 or more sheets. Therefore, if the storage area for each document is set in advance in the memory, it is extremely uneconomical.

本発明はこの欠点を除去し、メモリを有効に利用できる
ようにしたものである。
The present invention eliminates this drawback and enables effective use of memory.

第1図中、100はメモリ15の書込み、読出しをする
ためのメモリのアドレス制御回路であり、そのアドレス
データはI(、AM1Q2に格納される。
In FIG. 1, 100 is a memory address control circuit for writing and reading data into and from the memory 15, and its address data is stored in I(, AM1Q2).

そのアドレスデータは後述の如く各種あり、CPU10
4により110101を介して記憶制御、設定制御され
る。CGROM106はキャラクタをソフトで発生させ
るためのメモリで、日付9時刻データを画像デブタに合
成するためのもので、110105を介して第2図のR
几カウンタに入力される。つまり、キャラクタも符号化
されて合成されるのである。
There are various kinds of address data as described below, and the CPU10
4 performs storage control and setting control via 110101. CGROM 106 is a memory for generating characters by software, and is used to synthesize date and time data into image data.
It is input to the 几 counter. In other words, characters are also encoded and synthesized.

104は以上の処理を行なうもので、日付1時刻表示用
の時計機能を有する。簡単に説明すると1アドレスコン
トロー2100はメモリへの格納制御をして1ページの
原稿分の記憶が終了するとその時のアドレスデータをス
トップアドレスとしてl(AM102に格納する。次に
2ページ目の原稿格納のために、そのアドレスデータを
書込みスタートアドレスとしてコントロニラ100にセ
ットしておく。
Reference numeral 104 performs the above processing and has a clock function for displaying the date and time. To briefly explain, the 1-address controller 2100 controls the storage of the document in the memory, and when the storage of one page of the document is completed, the address data at that time is stored in AM102 as a stop address.Next, the second page of document is stored. Therefore, the address data is set in the controller 100 as the write start address.

2ページ目の圧縮データの到来とともにそのスタートア
ドレスから格納開始する。一方1ページ目の格納データ
は2ページ目の格納動作中逐次伝送すべくメモリから出
力される。1ページ目の伝送完了しない限り1ページ目
への新たなデータ格納しないよ5禁止されている。2ペ
ージ目の次は6ページ目を同様にして格納する。もし6
ページ目の中途でメモリが一杯になった場合、先の1ペ
ージ目の分が伝送完了されている場合に限り先の1ペー
ジ目エリアに戻って格納を続行する。
When the second page of compressed data arrives, storage starts from its start address. On the other hand, the data stored in the first page is outputted from the memory for sequential transmission during the storage operation of the second page. It is prohibited to store new data on the first page unless the transmission of the first page is completed. After the second page, the sixth page is stored in the same manner. If 6
If the memory becomes full in the middle of the page, the storage continues by returning to the first page area only if the transmission of the first page has been completed.

以下詳述する。第1表は上記注意点で考慮した画面メモ
リとCPU間のコントロール信号である。
The details will be explained below. Table 1 shows the control signals between the screen memory and the CPU taken into consideration in the above precautions.

第      1      表 書込可能なエリアのトップアドレスを■、エンドアドレ
スをのとすると第4図の初期状態にては、書込みスター
トアドレス祉■、メモリエンドアドレスはノ、ターンア
ラウンドアドレスは■、インヒビットエリアトップはの
、読出しスタートアドレスは■となる。
Table 1 If the top address of the writable area is ■ and the end address is , then in the initial state of Figure 4, the write start address is ■, the memory end address is , the turnaround address is ■, and the inhibit area is The top is , and the read start address is ■.

第6図に空メモリに画像の蓄積を行なう様子を示す。FIG. 6 shows how images are stored in the empty memory.

(1)メモリエンドアドレスの、書込みスタートアドレ
ス■をメモリボードに指定し、画像の読込みをスタート
させる。先頭ベージ■の読取りが終了し、データがすべ
てMH変換されると1(、TCデータが書込まれ蓄積が
ストップする。CPUはILTCが書かれた事をセンス
しストップしているメモリアドレス(カレントアドレス
)■を記憶する。インヒビットエリアトップけ■にセッ
トされる。
(1) Specify the write start address ■ of the memory end address to the memory board and start reading the image. When reading of the first page ■ is completed and all data is converted to MH, 1 (, TC data is written and accumulation stops. The CPU senses that ILTC has been written and changes the memory address (current Address) ■ is memorized. Inhibit area top is set to ■.

(2)次ページのスタートアドレスに■をセットし画像
の読込みをスタートさせる。読込みが終了し、ベージO
が蓄積されるとCPUはストップアドレス◎をセンスし
記憶する。
(2) Set ■ to the start address of the next page and start reading the image. Loading is completed and page O
Once accumulated, the CPU senses and stores the stop address ◎.

(6)次ページのアドレスとして◎+1をセットしベー
ジ■の読込みを開始する。インヒピットアドレス■まで
の距離が5QQ K bitになるとメモリボードから
アラームか発生する。この場合は蓄積モードなのでCP
UdCWC中断等の通信処置は採らない。カレントアド
レスがメモリエンドアドレスに達するとメモリボードは
ターンアラウンドアドレス■ヘカレントアドレスを進め
る。ただしインヒビットアドレスも■なのでメモリへの
実際の書込みは■から禁止される。単にカレントアドレ
スを進めるだけである。ベージ■の読取りが終了したら
CPUはストップアドレスをセンスしく■)記憶する。
(6) Set ◎+1 as the address of the next page and start reading page ■. When the distance to the inhibit address ■ reaches 5QQ K bits, an alarm will be generated from the memory board. In this case, since it is accumulation mode, CP
No communication measures such as UdCWC interruption will be taken. When the current address reaches the memory end address, the memory board advances the current address to the turnaround address ■. However, since the inhibit address is also ■, actual writing to the memory is prohibited from ■. It simply advances the current address. When the reading of the page (■) is completed, the CPU intelligently stores the stop address (■).

この時CPUけベージのスタートアドレスなOに固定す
る(新たなストップアドレスヲ設定せず、事実上ページ
■のクリアを行なう)。
At this time, the CPU page is fixed at the start address O (no new stop address is set, and page 2 is effectively cleared).

CPUはベージ■の情報量をストップアドレス◎によっ
て知る事が出来た訳である。送信(あるいはテストコピ
ー)動作に入ってベージ■が空になったら再度ベージ■
の読取りを開始する。
This means that the CPU was able to know the amount of information on the page ■ from the stop address ◎. When the sending (or test copy) operation begins and the page becomes empty, click the page again.
Start reading.

(4)最終的には書込みスタートアドレス◎、メモリエ
ンドアドレスの、ターンアラウンドアドレスの、インヒ
ビットエリアトップ■、読出しスタートアドレス■で蓄
積を終了する。
(4) Finally, the accumulation ends at the write start address ◎, the memory end address, the turnaround address, the inhibit area top ■, and the read start address ■.

第5図は原稿を手でとりかえるモードにて送信する場合
Figure 5 shows the case of sending in the mode where the original can be changed manually.

(5) (4)の状態で蓄積を終えた時、送信ボタンが
押下された。読み取りスタートアドレスは■にセットさ
れる。ベージ■、ページ■に続きページ■がアドレス0
まで入る予定けCPUが憶えている。
(5) When the storage was completed in the state of (4), the send button was pressed. The read start address is set to ■. Following page ■ and page ■, page ■ has address 0.
I remember which CPU is scheduled to be installed.

(6)ページ■先頭のからメモリが読み取られページ■
がすべて送信終了した段階でページ■のメモリへの書き
込みが行なわれる。読取りスタートアドレスは[相]に
セットされる。インヒビットエリアトップは■に移る。
(6) Page ■The page whose memory is read from the beginning■
When all of the data have been transmitted, page (2) is written to the memory. The reading start address is set to [phase]. The top of the inhibit area moves to ■.

(7)ページ■が読み出されてゆ(と同時にページ■が
書き込まれてゆく。ページ■はアドレス◎で書き込みを
終了する。ページ■が送信され終ったら読み取シスター
・ドアドレス及びインヒピットエリアトップは◎に、移
行する。ページOの蓄積が終了するとページ■の送信が
行なわれる。
(7) Page ■ is read out (and at the same time page ■ is written. Page ■ finishes writing at address ◎. When page ■ has been sent, read the sister address and inhibit area top transitions to ◎. When the accumulation of page O is completed, page ■ is transmitted.

(8)ページ■の送信が終了し、たら通信を終了し、読
み出しスタートアドレス及びvlき込みスタートアドレ
スな■に戻し、インヒビットエリアトップなのとする。
(8) When the transmission of page (■) is completed, the communication is terminated, the read start address and the vl write start address are returned to (■), and the inhibit area is top.

即ち初期状態に戻ず。In other words, it does not return to the initial state.

このように1ページ格納完了毎ではなくメモリに予じめ
複数ページ分格納した後送信するので、原稿を手作業で
取り換えるに要するブランク時間があっても通信回線を
無駄に専有することがないので経済的となる。
In this way, the data is sent after storing multiple pages in the memory in advance, rather than every time one page is stored, so even if there is blank time required to manually replace the original, the communication line is not wasted. It becomes economical.

第6図は原稿を手できりかえて送信する場合に送信中断
要求のあったとき (9)ページ■及びページ■がメモリにM (14され
ている。ベージ■推メモリに入らないので保留されてい
るが、書き込んだ時0で終了することけCPUが知って
いる。
Figure 6 shows that when a transmission interruption request is made when the original is manually changed and sent, page (9) and page ■ are stored in the memory as M (14). However, the CPU knows that it will end with 0 when written.

(10)ページG)の送信を開始し、送信終了するLペ
ージ■を蓄積しながらページ■の送信を開始する。
(10) Start transmitting page G), and start transmitting page ■ while accumulating L page ■ to be transmitted.

インヒビットエリアトップは■に移動する。Move the inhibit area top to ■.

(11)ページ■を送信途中で受信側がらCWC信号が
到来した。CPUけメモリに中断命令を出しく自動的に
R,TCが挿入される)、ページ0はアドレス[相]で
ストップする。ページ■の蓄積はこの間に終了している
。C几Cを受信し再び画像の送信を開始したときさ一ジ
■の残りをアドレス■からはき出しページ■を送信し終
って通信を終了する0 このように、メモリを有効に利用できる、また原稿を自
動交換する場合は交換時間が殆どないのでM3図の格納
送信モードにより、原稿読み取りの開始から短時間で複
数原稿の送信ができる。また、手動交換の場合はその交
換時間が長いので、第5,6図のモードにより、送信中
断時間の節約ができる。
(11) A CWC signal arrived from the receiving side during the transmission of page ■. When issuing an interrupt command to the CPU memory, R and TC are automatically inserted), and page 0 stops at address [phase]. The accumulation of page ■ has finished during this time. When receiving C 几C and starting to send images again, print out the rest of the page from the address ■ and end the communication after sending the page ■ In this way, you can use memory effectively and also When automatically exchanging the originals, there is almost no time for exchanging them, so by using the storage and transmission mode shown in Figure M3, multiple originals can be sent in a short time from the start of original reading. Further, in the case of manual replacement, the replacement time is long, so the modes shown in FIGS. 5 and 6 can save transmission interruption time.

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

第1図は本発明を原稿読取装置に適用した一実施例の構
成を示す図、第2図は第1図示のデータ圧縮回路20の
詳細な一構成例を示す回路図、第3図(a)及び(b)
は入出力関係を示す図 gJλ4図は第2図示回路の動
作タイミングを示すタイムチャート図、第5〜8図はメ
モリ説明図であり、21社RLカウンタ、22はM、H
エンコーダ、23はバッキング回路、31はFIFo、
32はレジスタB163はレジスタC1ろ4はマルチプ
レクサP、65はマルチプレクサQ136はカウントレ
ジスタX167は加算回路、38はカウントレジスタY
、39゜41は減算回路、40はマルチプレクサである
。 (61) (b) 第4図 REerC訪SE汀■口…ユ几几l (?ン                 (kりン 
                (//)     
    1手続補正書(方式) %式% 事件の表示 昭和58年 特許願  第 90897   号発明の
名称 画像処理装置 補正をする者 事件との関係       特許出願人柱 所 東京都
大田区下丸子3−30−2居所 IW 146東京都大
出区下丸子3−30−2キャノン株式会社内(電話75
8−2111)5、補正命令の日付 昭和58年8月60日(発送日付) 6、補正の対象 願書、明細書及び図面 7、補正の内容
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. ) and (b)
gJλ4 is a time chart showing the operation timing of the circuit shown in the second diagram, and FIGS. 5 to 8 are memory explanatory diagrams.
encoder, 23 is a backing circuit, 31 is FIFo,
32 is a register B163 is a register C1-4 is a multiplexer P, 65 is a multiplexer Q136 is a count register X167 is an addition circuit, 38 is a count register Y
, 39.41 is a subtraction circuit, and 40 is a multiplexer. (61) (b) Figure 4: REerC visit
(//)
1 Procedural amendment (method) % formula % Display of the case 1982 Patent application No. 90897 Name of the invention Image processing device Amendment person Relationship to the case Patent applicant Location 3-30-2 Shimomaruko, Ota-ku, Tokyo IW 146 Canon Co., Ltd., 3-30-2 Shimomaruko, Oide-ku, Tokyo (telephone: 75
8-2111) 5. Date of amendment order: August 60, 1982 (shipping date) 6. Application, specification and drawings subject to amendment 7. Contents of amendment

Claims (1)

【特許請求の範囲】[Claims] 原稿の画像データを符号化する手段、符号化データを記
憶するメモリ、原稿毎に上記メモリに記憶されたデータ
量に対応したデータを記憶する手段とを有することを特
徴とする画像処理装置。
An image processing apparatus comprising means for encoding image data of a document, a memory for storing the encoded data, and a means for storing data corresponding to the amount of data stored in the memory for each document.
JP9089783A 1983-05-24 1983-05-24 Picture processing device Pending JPS59216368A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP9089783A JPS59216368A (en) 1983-05-24 1983-05-24 Picture processing device
GB08413304A GB2142797B (en) 1983-05-24 1984-05-24 Apparatus enabling efficient utilization of a memory for storing image data of plural pages
DE19843419448 DE3419448A1 (en) 1983-05-24 1984-05-24 IMAGE PROCESSING DEVICE
FR8408125A FR2546694B1 (en) 1983-05-24 1984-05-24 IMAGE PROCESSING APPARATUS
US07/581,205 US5022088A (en) 1983-05-24 1990-09-10 Image processing apparatus with provision for memory operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9089783A JPS59216368A (en) 1983-05-24 1983-05-24 Picture processing device

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP17577184A Division JPS60100873A (en) 1984-08-23 1984-08-23 Picture processor
JP59175770A Division JPH0732448B2 (en) 1984-08-23 1984-08-23 Image processing device

Publications (1)

Publication Number Publication Date
JPS59216368A true JPS59216368A (en) 1984-12-06

Family

ID=14011191

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9089783A Pending JPS59216368A (en) 1983-05-24 1983-05-24 Picture processing device

Country Status (1)

Country Link
JP (1) JPS59216368A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61265974A (en) * 1985-05-20 1986-11-25 Nec Corp Variable length code encoder
JPS6310667U (en) * 1986-07-08 1988-01-23

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49112543A (en) * 1973-02-23 1974-10-26

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49112543A (en) * 1973-02-23 1974-10-26

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61265974A (en) * 1985-05-20 1986-11-25 Nec Corp Variable length code encoder
JPS6310667U (en) * 1986-07-08 1988-01-23
JPH0523013Y2 (en) * 1986-07-08 1993-06-14

Similar Documents

Publication Publication Date Title
US4593324A (en) Image data storing device
EP1089562B1 (en) Imaging device and signal processing method
JPH0523099B2 (en)
CN100370399C (en) Projection apparatus and image acquisition method
US6111665A (en) Image forming apparatus in which a read address may not surpass the write address
US7557943B2 (en) Image data management method of multiple sets of image data
JPS59216368A (en) Picture processing device
US20060132620A1 (en) Data recording apparatus and method thereof
CN100525372C (en) Manuscript image reading recording device
JPS62227260A (en) Picture processing system
JPH0732448B2 (en) Image processing device
JPH0877049A (en) Method and device for information recording of electronic still camera
JP3458501B2 (en) Encoding device
JPS60100873A (en) Picture processor
JPH0879686A (en) Method for recording information of electronic still camera and device therefor
JP3151912B2 (en) Image processing device
JP2573700B2 (en) Image recording and playback device
JP2573701B2 (en) Image recording and playback device
JPH10162087A (en) Document processing method
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
JP2692830B2 (en) Page order conversion method of accumulated image information
JPS6359061A (en) Facsimile equipment
JPH02107057A (en) Facsimile picture signal processor
JPH0723235A (en) Picture recorder
JP2002218374A (en) Method and device for storing digital camera data