JPH0832783A - Image reader - Google Patents

Image reader

Info

Publication number
JPH0832783A
JPH0832783A JP18908294A JP18908294A JPH0832783A JP H0832783 A JPH0832783 A JP H0832783A JP 18908294 A JP18908294 A JP 18908294A JP 18908294 A JP18908294 A JP 18908294A JP H0832783 A JPH0832783 A JP H0832783A
Authority
JP
Japan
Prior art keywords
line
image data
image
scanner
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP18908294A
Other languages
Japanese (ja)
Inventor
Takeo Ohashi
威夫 大橋
Yasunori Tsukioka
康訓 月岡
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP18908294A priority Critical patent/JPH0832783A/en
Publication of JPH0832783A publication Critical patent/JPH0832783A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PURPOSE:To reduce deterioration in the picture quality of a read image which is caused when an IFIO is always full of encoded data. CONSTITUTION:While image data by main scanning lines which are read by a scanner 1 are inputted to plural line buffers 2a in order, the image data inputted to the line buffer are taken out and processed by a sequential processor 3 in the input order and the processed image data are transferred to a next- stage processor through the FIFO memory 2b in order. This image reader is equipped with a 1-line control means 8 which performs control so that image data are transferred to the processor from the scanner by using one of the line buffers when the amount of untransferred data in the FIFO memory exceeds a specific upper-limit amount. Consequently, deterioration in the picture quality of the read image is reducible without increasing the cost of the device.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、スキャナで読み取った
主走査ライン毎の画像データを複数本のラインバッファ
に順次入力していく一方、前記ラインバッファに入力さ
れた前記画像データをその入力順に順次処理装置に取り
出して処理し、処理した画像データを順次FIFOメモ
リを介して次段の処理装置に転送する画像読取装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention sequentially inputs image data for each main scanning line read by a scanner into a plurality of line buffers, and the image data input to the line buffers in the order of input. The present invention relates to an image reading device that sequentially takes out the image data to a processing device, processes the image data, and sequentially transfers the processed image data to a next-stage processing device via a FIFO memory.

【0002】[0002]

【従来の技術】一般にファクシミリ装置は、例えば図5
に示されるように構成されている。同図において、スキ
ャナ1は、原稿画像を読み取るものであり、主走査ライ
ン毎に画像を読み取るCCD等の光電変換素子、所定の
副走査周期で原稿を光電変換素子に対して移動させる駆
動装置、光電変換素子が読み取った画像を画像データ化
する画像処理部等で構成されている。
2. Description of the Related Art Generally, a facsimile machine is shown in FIG.
It is configured as shown in FIG. In FIG. 1, a scanner 1 reads a document image, a photoelectric conversion element such as a CCD that reads an image for each main scanning line, a drive device that moves the document with respect to the photoelectric conversion element in a predetermined sub-scanning cycle, The photoelectric conversion element includes an image processing unit that converts the image read by the photoelectric conversion element into image data.

【0003】RAM2は、スキャナ1で読み取った主走
査ライン毎の画像データが順次入力される複数本のライ
ンバッファと、後に説明するDCR3で処理された画像
データを、後に説明するモデム4に順次転送されるまで
一時的に格納するためのFIFOメモリとが所定の領域
に所定の容量で配置されていると共に、後に説明するC
PU8の制御データ等が格納される。
The RAM 2 sequentially transfers a plurality of line buffers into which image data for each main scanning line read by the scanner 1 is sequentially input and image data processed by a DCR 3 described later to a modem 4 described later. And a FIFO memory for temporarily storing the data until it is stored in a predetermined area with a predetermined capacity.
The control data of PU8 etc. are stored.

【0004】処理装置であるDCR3は、前記ラインバ
ッファに入力された画像データを、所定の符号化方式に
より圧縮処理する一方、受信した画像データを復号して
元の画情報を復元するものである。モデム4は、前記F
IFOに格納された画像データや各種手順信号を変調す
る一方、受信した変調されている画像データや各種手順
信号を復調するものである。NCU5は、回線に接続さ
れ、変調信号を送受信すると共に所定の回線制御を行う
ものである。プロッタ6は、画像を記録出力するもので
ある。オペレーションパネル7は、ファクシミリ装置を
使用する人の各種操作を受け入れると共に、装置の動作
状態等の情報を表示するものである。
The DCR3, which is a processing device, compresses the image data input to the line buffer by a predetermined encoding method, and decodes the received image data to restore the original image information. . The modem 4 uses the F
The image data and various procedure signals stored in the IFO are modulated, while the received modulated image data and various procedure signals are demodulated. The NCU 5 is connected to a line, transmits / receives a modulated signal, and performs a predetermined line control. The plotter 6 records and outputs an image. The operation panel 7 receives various operations of a person who uses the facsimile device and displays information such as an operating state of the device.

【0005】CPU8は、ROM9に書き込まれた制御
プログラムに従って上記各部をシステムバス10を介し
て制御すると共に、上記各部の相互間のデータのやり取
りを管理するものである。
The CPU 8 controls each of the above parts via the system bus 10 in accordance with a control program written in the ROM 9 and manages the exchange of data between the above respective parts.

【0006】以上のように構成されるファクシミリ装置
で原稿送信する場合、送信すべき原稿は、スキャナ1に
セットされる。そして、オペレーションパネル7により
発信操作がされることにより、ファクシミリ装置は、相
手先に発呼して所定の伝送制御手順により原稿画像を送
信する。この画像送信の際には、スキャナ1は、一定の
副走査周期で原稿を送りながら、その副走査周期で主走
査ライン毎の画像データを読み取る。その読み取られた
1ライン分の画像データは、順次複数本のラインバッフ
ァのうちの一本に副走査周期で転送されて入力される。
When a document is transmitted by the facsimile apparatus configured as described above, the document to be transmitted is set on the scanner 1. Then, when a transmission operation is performed by the operation panel 7, the facsimile device calls the other party and transmits the document image according to a predetermined transmission control procedure. During this image transmission, the scanner 1 reads the image data for each main scanning line in the sub-scanning cycle while feeding the document in the constant sub-scanning cycle. The read image data for one line is sequentially transferred and input to one of the plurality of line buffers in the sub-scanning cycle.

【0007】また、その動作に並行して、ラインバッフ
ァに格納された画像データは、入力された順番に順次取
り出されてDCR3によりデータ圧縮され符号化され
る。その符号化されたデータは、FIFOに順次転送さ
れて入力される。
Further, in parallel with the operation, the image data stored in the line buffer is sequentially taken out in the order of input, and the data is compressed and encoded by the DCR3. The encoded data is sequentially transferred to the FIFO and input.

【0008】また、その動作に並行して、FIFOに格
納されたデータは、入力された順に取り出されてモデム
4で変調され、NCU5を介して送信される。この場
合、変調されたデータは、前記所定の伝送制御手順によ
り設定される所定のデータ伝送速度により送信されるこ
とになる。
In parallel with the operation, the data stored in the FIFO are taken out in the order of input, modulated by the modem 4, and transmitted via the NCU 5. In this case, the modulated data will be transmitted at the predetermined data transmission rate set by the predetermined transmission control procedure.

【0009】このようにファクシミリ装置は、原稿の画
像を読み取りながら同時に送信するが、複数本のライン
バッファのすべてが画像データで一杯になると、スキャ
ナ1は原稿の画像データを取こぼさないために副走査、
画像の読取及び画像データの転送を停止する。前記複数
本のラインバッファは、画像データの情報量が1ライン
毎に異なることによる、DCR3の1ラインの画像デー
タの符号化処理に要する時間の変化のスキャナ1の動作
に与える影響を緩和するためのものであるため、DCR
3の符号化処理が滞ればいずれ画像データで一杯にな
る。
As described above, the facsimile apparatus simultaneously transmits the image of the original while reading it. However, when all of the plurality of line buffers are filled with the image data, the scanner 1 does not drop the image data of the original, so that scanning,
Image reading and image data transfer are stopped. The plurality of line buffers alleviate the influence on the operation of the scanner 1 of the change in the time required for the encoding process of the image data of one line of the DCR3 due to the information amount of the image data being different for each line. The DCR
If the encoding process of 3 is delayed, the image data will eventually fill up.

【0010】DCR3は、前記FIFOが符号化データ
で一杯になるまでは、前記複数本のラインバッファに処
理すべき画像データが在る限り動作し続けるが、前記F
IFOが一杯になれば符号化データを欠落させないため
に動作を停止する。
The DCR 3 continues to operate until the FIFO is filled with encoded data as long as there is image data to be processed in the plurality of line buffers.
When the IFO is full, the operation is stopped because the encoded data is not lost.

【0011】FIFOに格納された符号化データの量
は、前記所定のデータ伝送速度に応じた速さでモデム4
に取り出された分だけ減っていくが、DCR3から転送
されて入力される新たな符号化データの分だけ増える。
この符号化データが減る速さが、増える速さよりも速け
れば、FIFOが符号化データで一杯になることはな
い。しかし、減る速さが、増える速さよりも遅い場合、
つまり、前記所定のデータ伝送速度が、単位時間当たり
にDCR3により生成される符号化データの量として捉
えた画像読取速度よりも遅い場合には、FIFOはいず
れ符号化データで一杯になる。
The amount of coded data stored in the FIFO is the modem 4 at a speed corresponding to the predetermined data transmission speed.
However, the amount of the new encoded data transferred from the DCR3 increases.
If the rate at which the encoded data decreases is faster than the rate at which the encoded data increases, the FIFO will not be filled with the encoded data. However, if the rate of decrease is slower than the rate of increase,
That is, when the predetermined data transmission speed is slower than the image reading speed which is taken as the amount of encoded data generated by the DCR3 per unit time, the FIFO eventually becomes full of encoded data.

【0012】つまり、データ伝送速度の相対的な遅さに
起因して、先ずFIFOが符号化データで一杯になり、
DCR3の動作は停止する。そして、前記複数本にライ
ンバッファは画像データで一杯になる。そして、遂にス
キャナ1の動作も停止する。
In other words, due to the relative slowness of the data transmission rate, the FIFO is first filled with encoded data,
The operation of DCR3 is stopped. Then, the line buffers of the plurality of lines are filled with image data. Then, the operation of the scanner 1 is finally stopped.

【0013】ここで、データ伝送速度が画像読取速度よ
りもずっと遅い場合に生じる動作について説明する。
The operation that occurs when the data transmission speed is much slower than the image reading speed will now be described.

【0014】スキャナ1の動作が停止しているときも、
符号化データは前記所定の通信速度で処理されているた
め、FIFOには、DCR3から新たな符号化データを
転送できる空きが生じ、DCR3は、ラインバッファに
格納された画像データの符号化処理を再開して、FIF
Oに新たな符号化データを転送する。そして再びFIF
Oは一杯になる。このような動作を繰り返すうちに、い
ずれ、今処理していた1本のラインバッファ内の全ての
画像データの符号化処理を完了する。つまり、一杯であ
った前記複数本のラインバッファのうちの一本が空く。
Even when the operation of the scanner 1 is stopped,
Since the encoded data is processed at the predetermined communication speed, the FIFO has a space for transferring new encoded data from the DCR3, and the DCR3 performs the encoding process of the image data stored in the line buffer. Restart, FIF
Transfer the new encoded data to O. And again FIF
O is full. By repeating such an operation, the encoding process of all the image data in one line buffer which is being processed is completed at some point. That is, one of the plurality of line buffers that has been full is free.

【0015】また、スキャナ1は、前記所定の副走査周
期と同じ周期で連続する一定のタイミングに同期して副
走査するため、停止状態からの副走査を開始する時もそ
のタイミングに同期する。そのため、停止してから副走
査を再開するまでの最短時間、すなわち前記所定の副走
査周期の間に、1ライン毎の画像データの情報量の多少
により、ラインバッファ2本分以上の画像データが処理
されて新たにラインバッファが2本空くこともある。
Further, since the scanner 1 performs sub-scanning in synchronization with a constant timing which is continuous in the same cycle as the predetermined sub-scanning cycle, it also synchronizes with the timing when starting sub-scanning from the stopped state. Therefore, during the shortest time from the stop to the restart of the sub-scanning, that is, during the predetermined sub-scanning cycle, the image data of two or more line buffers is generated depending on the amount of information of the image data for each line. It may be processed and two new line buffers may be vacated.

【0016】そして、空いているラインバッファが有る
かぎり動作するスキャナ1は、前記タイミングにおい
て、ラインバッファが1本空いていれば1回だけ副走査
して画像を読取り、その画像データは、その空いている
1本のラインバッファに入力される。そして、次のタイ
ミングでは、今1本だけ空いていたラインバッファに画
像データが入力されてしまったため、空いているライン
バッファは1本もなく、副走査及び画像の読取は行なわ
れない。つまり、スキャナ1は動作を停止する。
The scanner 1, which operates as long as there is an empty line buffer, reads the image by sub-scanning only once if one line buffer is empty at the above timing, and the image data is free. Input to one line buffer. At the next timing, since the image data has been input to the line buffer that is currently vacant, only one line buffer is vacant and sub scanning and image reading are not performed. That is, the scanner 1 stops operating.

【0017】同様にラインバッファが2本以上空いてい
るときは空いている本数と同じ回数だけ連続して副走査
して停止する。このような動作は、データ伝送速度が遅
いままである限り何回も繰り返される。
Similarly, when two or more line buffers are vacant, the sub-scanning is continuously performed the same number of times as the number of vacant lines, and the line scanning is stopped. Such an operation is repeated many times as long as the data transmission rate remains low.

【0018】[0018]

【発明が解決しようとする課題】しかしながら、このよ
うな副走査の間欠動作、具体的には副走査のために原稿
を搬送する駆動装置の間欠動作時には、前記所定の副走
査周期で連続して副走査している、いわば定常状態のと
きには問題とはならない駆動装置全体の慣性やモータの
立上りの遅れのために、前記所定の副走査周期の間に副
走査方向に原稿が移動する距離がライン毎に異なってし
まう。
However, during such an intermittent operation of the sub-scan, specifically, an intermittent operation of a driving device which conveys an original document for the sub-scan, the sub-scan cycle is continuously performed. Due to the inertia of the entire driving device and the delay in the start-up of the motor, which is not a problem during sub-scanning, so to speak, in a steady state, the distance the document moves in the sub-scanning direction during the predetermined sub-scanning cycle It will be different for each.

【0019】このことについて、間欠動作時の副走査タ
イミングと、原稿移動量との関係を示した図6を参照し
て説明する。同図においてグラフの横軸は、前記所定の
副走査周期Tを単位する時間軸である。縦軸は原稿の副
走査方向の移動量を示している。
This will be described with reference to FIG. 6, which shows the relationship between the sub-scanning timing during the intermittent operation and the document movement amount. In the figure, the horizontal axis of the graph is a time axis in units of the predetermined sub-scanning cycle T. The vertical axis represents the amount of movement of the document in the sub-scanning direction.

【0020】いま、時間T毎に連続する一定のタイミン
グに同期して、タイミング2Tにおいてラインバッファ
が1本空ていたため、駆動装置はタイミング2Tで停止
状態から再起動する。そして、時間T後のタイミング3
Tにおいてはラインバッファに空きがないため副走査は
されない。ここでこのときの原稿移動量を見てみると、
タイミング2Tから3Tまでの間には、まだ原稿は移動
中であり、移動が止まるのはタイミング3Tと4Tとの
間である。このときの移動量をD1とする。なお、この
D1が1回の副走査当たりに原稿が本来移動すべき距離
であり、間欠動作ではなく連続動作しているときも原稿
はD1づつ移動する。
Now, in synchronism with a constant timing which continues every time T, since one line buffer is empty at the timing 2T, the drive device is restarted from the stopped state at the timing 2T. Then, the timing 3 after the time T
At T, the sub-scan is not performed because there is no space in the line buffer. Looking at the amount of original movement at this time,
The document is still moving between the timings 2T and 3T, and the movement stops between the timings 3T and 4T. The amount of movement at this time is D1. Note that this D1 is the distance that the original document should originally move per sub-scan, and the original document moves by D1 even during continuous operation rather than intermittent operation.

【0021】さて、タイミング4Tにおいて空いている
ラインバッファが2本有ったため、駆動装置は再び起動
する。そしてタイミング5Tでもタイミング4Tに続い
て副走査が行なわれる。次のタイミング6Tではライン
バッファに空きがないため副走査はされない。ここでこ
のときの原稿移動量を見てみると2回連続する副走査の
1回目、すなわち、タイミング4Tの副走査による移動
量は、D2であり、2回目、すなわち、タイミング5T
の副走査による移動量は、D3である。D2はD1より
もずっと小さく、D3はD1よりもずっと大きい。しか
し、D2とD3との合計はD1の2倍に等しい。すなわ
ち、2回だけ連続する副走査が行なわれたときの原稿移
動量は、本来移動すべき距離の2倍ではあるが、停止状
態から起動される1回目の副走査周期Tで移動し切れな
かっ分だけ2回目の副走査により移動していることにな
る。
Now, at timing 4T, since there are two free line buffers, the driving device is restarted. Also at timing 5T, sub-scanning is performed following timing 4T. At the next timing 6T, there is no space in the line buffer, so sub-scanning is not performed. Looking at the amount of movement of the original document at this time, the movement amount of the first sub-scan for two consecutive scans, that is, the movement amount by the sub-scan at timing 4T is D2, and the second time, that is, timing 5T.
The amount of movement by the sub-scan of is D3. D2 is much smaller than D1 and D3 is much larger than D1. However, the sum of D2 and D3 is equal to twice D1. That is, the amount of movement of the document when the continuous sub-scanning is performed only twice is twice the distance to be originally moved, but the original cannot be moved in the first sub-scanning cycle T started from the stopped state. This means that only the minute is moved by the second sub-scan.

【0022】このように、FIFOが慢性的に符号化デ
ータで一杯の場合には、副走査が間欠的に行なわれ、2
回だけ連続する副走査、換言すれば駆動装置の起動時の
過渡状態も、間欠的に何回も繰り返されるため、ライン
ごとの移動距離が一定しない状態が継続して発生してし
まい、読み取られた画像の画質が劣化するという問題が
あった。
As described above, when the FIFO is chronically full of coded data, the sub-scanning is intermittently performed, and 2
The sub-scanning that continues only once, in other words, the transient state at the time of starting the drive device is also repeated many times intermittently, so the state in which the moving distance for each line is not constant occurs continuously, and it is read. There is a problem that the quality of the image deteriorates.

【0023】このような画質の劣化を防止するには、デ
ータ伝送速度、すなわち、次段の処理装置であるモデム
4の処理速度にかかわらずFIFOが一杯になることが
ないように、FIFOの容量を大きくすることが考えら
れるが、その場合装置コストが高くなるという別の問題
を生じる。
In order to prevent such deterioration of image quality, the capacity of the FIFO is set so that the FIFO will not be filled up regardless of the data transmission speed, that is, the processing speed of the modem 4 which is the processing device of the next stage. However, in that case, another problem that the device cost becomes high arises.

【0024】本発明は、かかる事情に鑑みてなされたも
のであり、装置コストを上昇させることなく、FIFO
が慢性的に符号化データで一杯の場合に起きる、読み取
られた画像の画質の劣化を低減することができる画像読
取装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and is a FIFO without increasing the cost of the apparatus.
It is an object of the present invention to provide an image reading device capable of reducing the deterioration of the image quality of a read image that occurs when the code is chronically full of encoded data.

【0025】[0025]

【課題を解決するための手段】上記目的を達成するた
め、請求項1記載の画像読取装置は、スキャナで読み取
った主走査ライン毎の画像データを複数本のラインバッ
ファに順次入力していく一方、前記ラインバッファに入
力された前記画像データをその入力順に順次処理装置に
取り出して処理し、処理した画像データを順次FIFO
メモリを介して次段の処理装置に転送する画像読取装置
において、前記FIFOメモリ内の未転送データの量が
所定の上限量を越えたときは、前記複数本のラインバッ
ファのうち1本のラインバッファのみを用いて前記スキ
ャナから前記処理装置への画像データの転送を行なうよ
うに制御する1ライン制御手段を備えていることを特徴
とするものである。
In order to achieve the above object, an image reading apparatus according to claim 1 sequentially inputs image data for each main scanning line read by a scanner into a plurality of line buffers. , The image data input to the line buffer are sequentially taken out to the processing device in the order of input and processed, and the processed image data are sequentially FIFO-processed.
In an image reading device that transfers data to a next-stage processing device via a memory, when the amount of untransferred data in the FIFO memory exceeds a predetermined upper limit amount, one line of the plurality of line buffers is used. It is characterized in that it is provided with a one-line control means for controlling so as to transfer the image data from the scanner to the processing device using only the buffer.

【0026】また、請求項2記載の画像読取装置は、ス
キャナで読み取った主走査ライン毎の画像データを複数
本のラインバッファに順次入力していく一方、前記ライ
ンバッファに入力された前記画像データをその入力順に
順次処理装置に取り出して処理し、処理した画像データ
を順次FIFOメモリを介して次段の処理装置に転送す
る画像読取装置において、前記FIFOメモリ内の未転
送データの量が所定の上限量を越えてから所定の下限量
以下になるまでは、前記複数本のラインバッファのうち
1本のラインバッファのみを用いて前記スキャナから前
記処理装置への画像データの転送を行なうように制御す
る1ライン制御手段を備えていることを特徴とするもの
である。
Further, in the image reading apparatus according to the second aspect, the image data for each main scanning line read by the scanner is sequentially input to a plurality of line buffers, while the image data input to the line buffer is input. In the image reading apparatus that sequentially fetches the processed data into the processing device in the order of input and processes the processed image data to the next processing device through the FIFO memory, the amount of untransferred data in the FIFO memory is predetermined. From the time when the amount exceeds the upper limit to the time when the amount becomes less than the predetermined lower limit, control is performed so that image data is transferred from the scanner to the processing device using only one line buffer of the plurality of line buffers. It is characterized in that it is provided with a 1-line control means.

【0027】また、請求項3記載の画像読取装置は、請
求項1又は2記載の画像読取装置において、前記複数本
のラインバッファのうち1本のラインバッファのみを用
いて前記スキャナから前記処理装置への画像データの転
送を行なうように制御されているときは、スキャナによ
る画像の読み取りを所定の副走査周期の後半で行ない、
前記複数本のラインバッファを用いて前記スキャナから
前記処理装置への画像データの転送が行われているとき
は、スキャナによる画像の読み取りを前記所定の副走査
周期の前半で行なうように制御する読取制御切換手段を
備えていることを特徴とするものである。
An image reading apparatus according to a third aspect is the image reading apparatus according to the first or second aspect, in which only one line buffer among the plurality of line buffers is used to drive the scanner to the processing apparatus. When it is controlled to transfer image data to the scanner, the image is read by the scanner in the latter half of the predetermined sub-scanning cycle,
When image data is being transferred from the scanner to the processing device using the plurality of line buffers, the reading is controlled so that the image reading by the scanner is performed in the first half of the predetermined sub-scanning cycle. It is characterized in that it is provided with control switching means.

【0028】[0028]

【作用】請求項1の記載の構成によれば、前記FIFO
メモリ内の未転送データの量が所定の上限量を越えたと
きは、前記複数本のラインバッファのうち1本のライン
バッファのみを用いて前記スキャナから前記処理装置へ
の画像データの転送を行なうように制御する1ライン制
御手段を備えているため、FIFOメモリ内の未転送デ
ータが前記所定の上限値よりも少ないときは、複数本の
ラインバッファを有るだけ用いて画像データ転送を行な
うが、次段の処理装置の処理が滞ってFIFOメモリ内
の未転送データの量が徐々に増えて、前記所定の上限量
を越えると、実際には複数本あるラインバッファを1本
だけ用いてデータ転送する。これにより、主走査ライン
1本分の画像データが読み取られて1本だけしかないラ
インバッファに転送されるため、連続して次の主走査ラ
インの画像データを読み取ろうとしてもその時までに転
送すべきラインバッファが空く機会が減るため、連続し
た読み取りは行なわれにくくなる。つまり、連続した副
走査が行なわれにくくなる。そして、1本だけのライン
バッファ内の全ての画像データが処理装置に取り出され
て処理されても、新たに空くラインバッファは一本だけ
であるため、スキャナは、同様の動作を繰り返す。この
動作状態では、連続して副走査したときと比較して画像
読取速度が低下するため、複数本のラインバッファを全
て用いる場合と比較してFIFOメモリが未転送データ
で一杯になるまでの時間が長くなる。そして次段処理装
置の処理速度がその低下した画像読取速度を上回ればF
IFOメモリは未転送データで一杯になることはない。
たとえ、一杯になったとしても、ラインバッファが1本
しかないため、数回だけ連続する副走査の、間欠的な繰
返しが行なわれにくくなる。
According to the configuration of claim 1, the FIFO
When the amount of untransferred data in the memory exceeds a predetermined upper limit amount, only one line buffer of the plurality of line buffers is used to transfer the image data from the scanner to the processing device. When the untransferred data in the FIFO memory is less than the predetermined upper limit value, the image data transfer is performed using only a plurality of line buffers. When the amount of untransferred data in the FIFO memory gradually increases due to the delay in the processing of the processing device in the next stage, and the predetermined upper limit is exceeded, data transfer is actually performed using only one line buffer. To do. As a result, the image data for one main scanning line is read and transferred to the line buffer having only one line. Therefore, even if the image data of the next main scanning line is continuously read, it is transferred by that time. Successive readings are less likely to occur because there is less opportunity for the power line buffer to become empty. That is, it becomes difficult to perform continuous sub-scanning. Then, even if all the image data in the line buffer of only one line is taken out by the processing device and processed, only one line buffer is newly vacated, so the scanner repeats the same operation. In this operation state, the image reading speed is lower than that in the case where the sub-scan is continuously performed. Therefore, the time until the FIFO memory is filled with the untransferred data is greater than that in the case where all the plural line buffers are used. Becomes longer. If the processing speed of the next-stage processing device exceeds the decreased image reading speed, F
The IFO memory will not be filled with untransferred data.
Even if it is full, since there is only one line buffer, it is difficult to perform intermittent repetition of sub-scans that are continuous several times.

【0029】また、請求項2の記載の構成によれば、前
記FIFOメモリ内の未転送データの量が所定の上限量
を越えてから所定の下限量以下になるまでは、前記複数
本のラインバッファのうち1本のラインバッファのみを
用いて前記スキャナから前記処理装置への画像データの
転送を行なうように制御する1ライン制御手段を備えて
いるため、請求項1の記載の構成では、FIFOメモリ
内の未転送データが所定の上限量を越えてから、再びそ
の上限量以下になるときに、今までは画像データ転送に
1本だけ用いていたラインバッファが急に複数本用いら
れるようになるため、画像読取速度も急に速くなる。す
ると次段処理装置の処理速度によっては、またすぐにF
IFOメモリ内の未転送データが所定の上限量を越え、
そして、また、上限量以下となる動作を繰り返すことが
ありえるが、請求項2の記載の構成では、上限量を越え
てからは、再び上限量以下となってからも更に所定の下
限量以下になるまでは、用いるラインバッファを1本だ
けとするため、上限値付近で起き得る数回だけ連続する
副走査の、間欠的な繰返しが起きにくくなる。
Further, according to the structure of the second aspect, the plurality of lines are set until the amount of untransferred data in the FIFO memory exceeds a predetermined upper limit amount and becomes equal to or less than a predetermined lower limit amount. The FIFO according to the configuration of claim 1, further comprising a one-line control unit that controls to transfer the image data from the scanner to the processing device by using only one line buffer among the buffers. When the untransferred data in the memory exceeds the predetermined upper limit amount and becomes less than or equal to the upper limit amount again, suddenly a plurality of line buffers, which had been used for transferring image data until now, are suddenly used. Therefore, the image reading speed also suddenly increases. Then, depending on the processing speed of the next-stage processing device, the F
The untransferred data in the IFO memory exceeds a predetermined upper limit,
Further, it is possible that the operation of reaching the upper limit amount or less is repeated, but in the configuration according to the second aspect, after the upper limit amount is exceeded, even if the upper limit amount is again reached, the predetermined lower limit amount is reached. Until that time, since only one line buffer is used, it is difficult for intermittent sub-scanning to occur several times in succession near the upper limit value.

【0030】また、請求項3の記載の構成によれば、読
取制御切換手段を備えているため、データ転送に用いる
ラインバッファを1本だけにしているときは、画像の読
取が副走査周期の後半で行なわれ、次の副走査のタイミ
ングまでにラインバッファが空くことが、請求項1また
は2の構成に比較してずっと起きにくくなる。また、複
数本のラインバッファを用いてデータ転送していると
き、すなわち、連続して画像を読み取るときは、画像の
読取が副走査周期の前半で行なわれるため、次の副走査
のタイミングまでに、ラインバッファ内の画像データを
処理する時間があり、複数本のラインバッファが全て画
像データで一杯になる機会が、後半で画像を読み取る場
合より減る。つまり、連続した画像の読取を妨げにくく
なる。
According to the third aspect of the present invention, since the reading control switching means is provided, when the number of line buffers used for data transfer is only one, the image reading is performed in the sub-scanning cycle. It is much less likely that the line buffer will be vacant until the timing of the next sub-scan, which is performed in the second half, as compared with the configuration of claim 1 or 2. In addition, when data is transferred using a plurality of line buffers, that is, when images are continuously read, the image is read in the first half of the sub-scan cycle, so the timing of the next sub-scan is not reached. Since there is time to process the image data in the line buffer, the chances that the plurality of line buffers are all filled with the image data are reduced as compared with the case of reading the image in the latter half. That is, it becomes difficult to prevent continuous reading of images.

【0031】[0031]

【実施例】以下、添付図面を参照しながら、本発明をフ
ァクシミリ装置に適用した場合を例にとって詳細に説明
する。なお、以下の説明で参照する図においては、従来
のファクシミリ装置の構成の例を示す図5と同一部分及
び相当する部分には、同一符号を付している。また、以
下の実施例の説明においては、図5を引用して参照す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A case in which the present invention is applied to a facsimile machine will be described below in detail with reference to the accompanying drawings. In the drawings referred to in the following description, the same parts as or corresponding parts to those in FIG. 5 showing an example of the configuration of a conventional facsimile apparatus are designated by the same reference numerals. In the following description of the embodiments, reference will be made to FIG.

【0032】先ず、本発明の第1実施例について、図1
及び図2を参照して詳細に説明する。図1は、画像読取
装置と、次段処理装置のブロック構成図を示したもので
ある。スキャナ1は、原稿画像を読み取るもので、図5
に示したものと同様のものである。ラインバッファ群2
aは、1本当たり256バイトの容量のラインバッファ
1、2、3及び4の合計4本のラインバッファからな
り、RAM2の所定の領域に配置されている。処理手段
であるDCR3は、ラインバッファ群2aから取り出さ
れた画像データを圧縮処理して符号化データを生成する
ものである。FIFO2bは、DCR3で生成された符
号化データを一時的に格納するものであり、本実施例で
は2kバイト(2048バイト)の容量でRAM2の所
定の領域に配置されている。モデム4は、次段処理装置
であり、FIFO2bから入力された順に符号化データ
を取り出し変調するものである。CPU8は、上記各部
を制御すると共に、後で説明する各種ポインタやカウン
タを管理している。
First, referring to FIG. 1 of the first embodiment of the present invention.
Also, a detailed description will be given with reference to FIG. FIG. 1 is a block diagram of the image reading device and the next-stage processing device. The scanner 1 reads a document image and is shown in FIG.
Is similar to that shown in. Line buffer group 2
a is composed of a total of four line buffers of line buffers 1, 2, 3 and 4 each having a capacity of 256 bytes, and is arranged in a predetermined area of the RAM 2. The DCR3, which is a processing means, is for compressing the image data extracted from the line buffer group 2a to generate encoded data. The FIFO 2b temporarily stores the encoded data generated by the DCR 3, and is arranged in a predetermined area of the RAM 2 with a capacity of 2 kbytes (2048 bytes) in this embodiment. The modem 4 is a next-stage processing device, which extracts encoded data in the order input from the FIFO 2b and modulates it. The CPU 8 controls the above-mentioned units and manages various pointers and counters described later.

【0033】以上の構成により、スキャナ1で主走査ラ
イン毎に読み取られたライン単位の画像データは、ライ
ンバッファ1、2、3及び4のうちのどのラインバッフ
ァに入力されるべきかを示す、ラインバッファ入力ポイ
ンタに示されたラインバッファに入力される。今ライン
バッファ1に入力されたとすると、ラインバッファ入力
ポインタは、次はラインバッファ2を示す。そして、順
次ラインバッファ3、4、1というように巡回しながら
スキャナ1からラインバッファ群2aに画像データが転
送される。
With the above configuration, it is shown in which of the line buffers 1, 2, 3 and 4 the image data in line units read by the scanner 1 for each main scanning line should be input. Input to the line buffer indicated by the line buffer input pointer. If the line buffer 1 is input to the line buffer 1, the line buffer input pointer indicates the line buffer 2 next. Then, the image data is transferred from the scanner 1 to the line buffer group 2a while sequentially circulating through the line buffers 3, 4, 1.

【0034】その画像データの転送と並行してDCR3
は、DCR3がどのラインバッファの画像データを取り
出すべきかを示す、ラインバッファ読出ポインタに示さ
れたラインバッファの画像データを順次取り出し、処理
する。今ラインバッファ1の画像データを処理していた
とすると、ラインバッファ読出ポインタは、その画像デ
ータの全ての処理が完了すると、次は、ラインバッファ
2を示す。そして、順次ラインバッファ3、4、1とい
うように巡回しながらラインバッファ群2aからDCR
3に画像データを取り出す。
In parallel with the transfer of the image data, DCR3
Sequentially fetches and processes the line buffer image data indicated by the line buffer read pointer, which indicates which line buffer image data the DCR 3 should fetch. Assuming that the image data in the line buffer 1 is being processed, the line buffer read pointer indicates the line buffer 2 after all the processing of the image data is completed. Then, the DCR from the line buffer group 2a is sequentially cycled through the line buffers 3, 4, 1.
The image data is taken out at 3.

【0035】また、今、何本のラインバッファに未処理
の画像データがあるかを計数するラインバッファカウン
タには、スキャナ1から画像データが転送される毎に1
だけ加えられ、DCR3により1本のラインバッファの
画像データが全て処理される毎に1だけ減じられる。
The line buffer counter, which counts how many line buffers have unprocessed image data, is set to 1 each time image data is transferred from the scanner 1.
DCR3 subtracts 1 every time all the image data in one line buffer is processed.

【0036】上記ラインバッファの入力及び読み出しに
並行して、DCR3により生成されたバイト単位の符号
化データは、その符号化データがFIFO2bのどのア
ドレスに格納されるべきかを示す、FIFO入力ポイン
タに示されたアドレスに格納される。そして、格納され
る毎にFIFO入力ポインタは次のアドレスを示し、ラ
インバッファのポインタ同様に巡回する。
In parallel with the input and read of the line buffer, the byte-unit coded data generated by the DCR3 is stored in a FIFO input pointer indicating which address of the FIFO 2b the coded data should be stored. It is stored at the indicated address. Then, the FIFO input pointer indicates the next address each time it is stored, and the FIFO input pointer circulates like the pointer of the line buffer.

【0037】その格納動作と並行して、FIFO2bに
格納された符号化データは、入力された順番に、どのア
ドレスに格納された符号化データを読み出すべきかを示
す、FIFO読出ポインタに示されたアドレスから読み
だされる。そして、読み出される毎にFIFO読出ポイ
ンタは次のアドレスを示し、FIFO入力ポインタ同様
に巡回する。
In parallel with the storing operation, the coded data stored in the FIFO 2b is indicated by a FIFO read pointer which indicates in which order the coded data stored in the FIFO 2b should be read. Read from address. The FIFO read pointer indicates the next address each time it is read, and the FIFO read pointer circulates similarly to the FIFO input pointer.

【0038】そうして読みだされた符号化データは、順
次モデム4に転送される。また、今、FIFO2b内に
何バイトの未転送符号化データがあるかを計数するFI
FOカウンタには、DCR3から符号化データが1バイ
ト転送される毎に1だけ加えられ、モデム4に1バイト
転送される毎に1だけ減じられる。
The coded data thus read is sequentially transferred to the modem 4. In addition, the FI that counts how many bytes of untransferred encoded data are present in the FIFO 2b
The FO counter is incremented by 1 each time 1 byte of coded data is transferred from the DCR 3, and decremented by 1 each time 1 byte is transferred to the modem 4.

【0039】そして、FIFO2bが未転送データで一
杯になったとき、つまり、FIFOカウンタの計数値が
FIFO2bの全容量のバイト数である2048になる
と、DCR3の動作は停止する。またラインバッファ群
2aに1本も空きがなくなったき、つまり、ラインバッ
ファカウンタの計数値が4になると、スキャナ1の動作
は停止する。
When the FIFO 2b is filled with untransferred data, that is, when the count value of the FIFO counter reaches 2048 which is the total number of bytes of the FIFO 2b, the operation of the DCR3 is stopped. When the line buffer group 2a becomes full, that is, when the count value of the line buffer counter reaches 4, the operation of the scanner 1 is stopped.

【0040】以上のように動作する本実施例の画像読取
装置は、CPU8が、DCR3で生成された符号化デー
タをFIFO2bに転送させる際には、図2に示される
サブルーチンに従って動作する。すなわち、CPU8
は、先ずFIFO入力ポインタの示すアドレスに符号化
データを入力する(処理101)。次にFIFOカウン
タに1を加える(処理102)。そして、FIFOカウ
ンタの計数値がFIFOの全容量である、2048に等
しいかを判断する。(判断103)。等しければ等しく
なくなるまで待つ(判断103のYesループ)。等し
くなければ(判断103のNo)、FIFOの計数値が
所定の上限量以上かをチェックする(判断104)。こ
の上限量は次段処理装置の処理速度や、画像読取速度を
優先するか画質を優先するか等を勘案して適当な値に設
定されるものである。
The image reading apparatus of this embodiment which operates as described above operates according to the subroutine shown in FIG. 2 when the CPU 8 transfers the encoded data generated by the DCR 3 to the FIFO 2b. That is, the CPU 8
First, the encoded data is input to the address indicated by the FIFO input pointer (process 101). Next, 1 is added to the FIFO counter (process 102). Then, it is determined whether the count value of the FIFO counter is equal to 2048 which is the total capacity of the FIFO. (Decision 103). If they are equal, wait until they are not equal (Yes loop of decision 103). If they are not equal (No in judgment 103), it is checked whether the count value of the FIFO is equal to or larger than the predetermined upper limit amount (decision 104). This upper limit amount is set to an appropriate value in consideration of the processing speed of the next-stage processing device and whether the image reading speed is prioritized or the image quality is prioritized.

【0041】さて、FIFOカウンタの計数値が所定の
上限量以上であるとき(判断104のYes)は、1ラ
イン制御フラグをONし、FIFOカウンタの計数値が
所定の上限量以上でないとき(判断104のNo)は、
1ライン制御フラグをOFFする。そして最後にFIF
O入力ポインタを次のアドレスに移す(処理107)。
When the count value of the FIFO counter is equal to or larger than the predetermined upper limit amount (Yes in judgment 104), the 1-line control flag is turned on, and when the count value of the FIFO counter is not equal to or larger than the predetermined upper limit amount (judgment). No of 104)
Turn off the 1-line control flag. And finally FIF
The O input pointer is moved to the next address (process 107).

【0042】このように、FIFO2b内の未転送デー
タの量が所定の上限量を越えている間は、1ライン制御
フラグはONであり、このONの間はCPU8は、ライ
ンバッファ群2aの内の1本のラインバッファだけを用
い、残りの3本は使用しないでスキャナ1からDCR3
への画像データの転送を行なう。
As described above, the 1-line control flag is ON while the amount of untransferred data in the FIFO 2b exceeds the predetermined upper limit amount. While this is ON, the CPU 8 controls the line buffer group 2a. 1 line buffer is used, and the remaining 3 are not used, from scanner 1 to DCR3
Transfer image data to.

【0043】これにより、スキャナ1は1ライン制御フ
ラグがONしている間は、ほとんど、1回だけ副走査し
ては、次の1副走査周期停止するという動作をするた
め、FIFO2bが未転送データで一杯になる機会がず
っと少なくなり、たとえ未転送データで一杯になったと
しても、読み取られた画像の劣化の原因となる、2回だ
け連続した副走査が間欠的に何回も起きることはほとん
どなくなるため、読み取られた画像の画質の劣化を防げ
る。
As a result, the scanner 1 operates so that, while the 1-line control flag is ON, the sub-scan is performed only once and then the next sub-scan cycle is stopped, so that the FIFO 2b is not transferred. The chance of filling up with data is much less, and even if it fills up with untransferred data, two consecutive sub-scans occur intermittently that cause deterioration of the read image. Is almost eliminated, and deterioration of the quality of the read image can be prevented.

【0044】ところで、以上説明した第1実施例では、
所定の上限量を越えているか越えないかによって1ライ
ン制御フラグをON/OFFしたが、上限量だけによる
制御では、次段処理速度等の条件によっては、上限量近
辺で未転送データ量が振動的に増減し、1ライン制御フ
ラグのON/OFFが頻発し、数回だけ連続した副走査
が間欠的に何回も起きることが有りえる。そのような問
題を解消するのが第2実施例である。
By the way, in the first embodiment described above,
The 1-line control flag was turned ON / OFF depending on whether or not it exceeded the predetermined upper limit amount. However, in the control by only the upper limit amount, the untransferred data amount vibrates near the upper limit amount depending on the conditions such as the processing speed of the next stage. It is possible that the ON / OFF of the 1-line control flag frequently occurs, and sub-scanning that is continuous several times occurs intermittently many times. The second embodiment solves such a problem.

【0045】第2実施例の画像読取装置では、CPU8
が、DCR3で生成された符号化データをFIFO2b
に転送する際には、図3に示されるサブルーチンに従っ
て動作する。
In the image reading apparatus of the second embodiment, the CPU 8
The encoded data generated by the DCR3 into the FIFO2b.
When the data is transferred to, it operates according to the subroutine shown in FIG.

【0046】すなわち、CPU8は、先ず、FIFO入
力ポインタの示すアドレスに符号化データを入力し(処
理101)、FIFOカウンタに1を加え(処理10
2)、FIFOカウンタの計数値がFIFO2bの全容
量である2048に等しいかを判断し(判断103)、
等しければ等しくなくなるまで待ち(判断103のYe
sループ)、等しくなければ(判断103のNo)FI
FOの計数値が所定の上限量以上かをチェックする(判
断104)までは、第1実施例と同様であるが、第2実
施例では次に、FIFOカウンタの計数値が所定の上限
量以上であるとき(判断104のYes)は、1ライン
制御フラグをONし(処理105)て処理107に進
む。FIFOカウンタの計数値が所定の上限量以上でな
いとき(判断104のNo)は、更にFIFOカウンタ
の計数値が前記所定の上限量よりも少ない、所定の下限
量以下であるかをチェックする(判断108)し、所定
の下限量以下であるとき(判断108のYes)は、1
ライン制御フラグをOFFし(処理106)、所定の下
限量以下でないとき(判断108のNo)は、1ライン
制御フラグの状態を変えないで処理107に処理を進め
る。そして最後にFIFO入力ポインタを次のアドレス
に移す(処理107)。なお、この下限量は次段処理装
置の処理速度と、画像読取速度を優先するが画質を優先
するか等を勘案して適当な値に設定されるものである。
That is, the CPU 8 first inputs the encoded data to the address indicated by the FIFO input pointer (process 101) and adds 1 to the FIFO counter (process 10).
2) determine whether the count value of the FIFO counter is equal to 2048 which is the total capacity of the FIFO 2b (decision 103),
If they are equal, wait until they are not equal (Yes at decision 103)
s loop), if not equal (No in decision 103) FI
Until the FO count value is greater than or equal to the predetermined upper limit amount (decision 104), the process is the same as in the first embodiment. However, in the second embodiment, the FIFO counter count value is greater than or equal to the predetermined upper limit amount. If it is (Yes in judgment 104), the 1-line control flag is turned on (process 105) and the process proceeds to process 107. When the count value of the FIFO counter is not greater than or equal to the predetermined upper limit amount (No in determination 104), it is further checked whether the count value of the FIFO counter is less than the predetermined upper limit amount or less than or equal to the predetermined lower limit amount (determination). 108) and when the amount is less than or equal to the predetermined lower limit amount (Yes in determination 108), 1
When the line control flag is turned off (process 106) and is not less than or equal to the predetermined lower limit amount (No in determination 108), the process proceeds to process 107 without changing the state of the 1-line control flag. Finally, the FIFO input pointer is moved to the next address (process 107). It should be noted that this lower limit amount is set to an appropriate value in consideration of the processing speed of the next-stage processing device and the image reading speed but the image quality.

【0047】このように、FIFO2b内の未転送デー
タの量が所定の上限量を越えてから所定の下限量以下に
なるまでの間は、1ライン制御フラグはONであるた
め、上限量近辺で未転送データ量が振動的に増減して、
数回だけ連続した副走査が、間欠的に何回も起きること
がない。
As described above, since the 1-line control flag is ON until the amount of untransferred data in the FIFO 2b exceeds the predetermined upper limit amount and becomes equal to or lower than the predetermined lower limit amount, the 1-line control flag is in the vicinity of the upper limit amount. The amount of untransferred data increases and decreases in a vibrational manner,
Sub scans that are continuous only several times do not occur intermittently many times.

【0048】さて、以上説明した第1及び第2の実施例
によれば、FIFO2bがたとえ未転送データで一杯に
なったとしても、数回だけ連続した副走査が、間欠的に
何回も起きることはほとんどなくなるが、全くなくなる
わけではない。次に説明する第3の実施例はその数回だ
け連続した副走査を第1及び第2の実施例に比較して一
層起きにくくすると共に、複数本のラインバッファを全
て用いて連続して画像を読み取る際の読取速度を不必要
に低下させないものである。
According to the first and second embodiments described above, even if the FIFO 2b is filled with the untransferred data, the sub-scanning that is continuous several times occurs intermittently many times. Things almost disappear, but not at all. The third embodiment to be described next makes it more difficult to cause the sub-scanning, which has been repeated several times, as compared with the first and second embodiments, and continuously uses a plurality of line buffers for continuous image formation. It does not unnecessarily reduce the reading speed when reading.

【0049】一般に、スキャナは所定の副走査周期の間
ずっと画像を読み取っているわけではなく、副走査周期
の前半か、または後半で読み取っている。その前半の場
合と後半の場合との作用の違いを図4を参照して説明す
る。
In general, the scanner does not read an image for a predetermined sub-scanning cycle, but it reads the image in the first half or the second half of the sub-scanning cycle. The difference in operation between the former case and the latter case will be described with reference to FIG.

【0050】図4(a)に示される、副走査周期Tの前
半の0.5Tの時間内で画像を読み取る場合は、タイミ
ング0Tにおいて一本だけラインバッファに空きがあっ
たため、タイミング0Tで1回副走査され、タイミング
0.5Tまでに1ラインの画像が読み取られその一本だ
けのラインバッファに転送される。そして、次の副走査
タイミング1Tまでの0.5Tの時間内は、いま画像デ
ータが転送されたラインバッファの画像データのDCR
3による処理が可能なため、副走査タイミング1Tにお
いて、副走査タイミング0Tにおいて空いていた1本の
ラインバッファが再び空くことがある。すなわち、ライ
ンバッファを1本だけにしても、2回以上連続して副走
査が行なわれることが有る。この作用は、複数本のライ
ンバッファを全て用いて連続して画像を読み取る際の、
つまり、本発明の第1及び第2の実施例におい1ライン
制御フラグがOFFの間の読取速度を不必要に低下させ
ないためには好ましいものである。しかし、1ライン制
御フラグがONの間に、FIFO2bが未転送データで
一杯になった際の画質劣化の要因になる。
When an image is read within the time of 0.5T which is the first half of the sub-scanning cycle T shown in FIG. 4A, there is only one line buffer at the timing 0T, and therefore there is 1 at the timing 0T. Sub-scanning is performed twice, and an image of one line is read by the timing 0.5T and transferred to the line buffer of only one line. Then, within 0.5T until the next sub-scanning timing 1T, the DCR of the image data of the line buffer to which the image data has been transferred has been reached.
Since the processing by 3 is possible, one line buffer that was vacant at the sub-scanning timing 1T may become vacant again at the sub-scanning timing 1T. That is, even if only one line buffer is used, the sub-scan may be performed twice or more continuously. This action is used when reading images continuously using all line buffers.
That is, it is preferable in the first and second embodiments of the present invention so as not to unnecessarily reduce the reading speed while the 1-line control flag is OFF. However, while the 1-line control flag is ON, it becomes a factor of image quality deterioration when the FIFO 2b is full of untransferred data.

【0051】一方、図4(b)に示される、副走査周期
Tの後半の0.5Tで読む場合は、タイミング0Tにお
いて一本だけラインバッファに空きがあったため、タイ
ミング0Tで1回副走査され、タイミン0.5Tで1ラ
インの画像の読み取りが始まり、タイミング1Tまでに
読取ると共にその1本のラインバッファに転送される。
しかし、次の副走査タイミング1Tの寸前まで画像の読
取をしていため、DCR3がその読み取られた画像デー
タの処理を完了する時間はなく、副走査タイミング1T
において、副走査タイミング0Tにおいて空いていた1
本のラインバッファが再び空くことはなくなる。すなわ
ち、ラインバッファを1本だけにすれば、1回の副走査
と、次の副走査との間に副走査周期T以上の、副走査が
停止する時間が挿入され、2回以上連続して副走査が行
なわれることはなくなる。この作用は、複数本のライン
バッファを全て用いて連続して画像を読み取る際の、つ
まり、本発明の第1及び第2の実施例において1ライン
制御フラグがOFFの間の読取速度を不必要に低下させ
るため好ましくない。しかし、1ライン制御フラグがO
Nの間に、FIFO2bが未転送データで一杯になった
際には、2回以上連続した副走査が起きないため画質の
劣化を低減することができる。
On the other hand, when reading at 0.5T in the latter half of the sub-scanning period T shown in FIG. 4B, there is only one line buffer at timing 0T, so there is one sub-scanning at timing 0T. Then, the reading of the image of one line is started at the timing of 0.5T, is read by the timing 1T, and is transferred to the one line buffer.
However, since the image is read just before the next sub-scanning timing 1T, the DCR 3 has no time to complete the processing of the read image data, and the sub-scanning timing 1T
, There was an empty 1 at the sub-scanning timing 0T
The book's line buffer will never be free again. That is, if only one line buffer is provided, a time period for which the sub-scanning is stopped, which is equal to or longer than the sub-scanning period T, is inserted between one sub-scanning and the next sub-scanning, and the sub-scanning is continuously performed twice or more. The sub-scan is not performed. This action does not require the reading speed when images are continuously read by using all of the plurality of line buffers, that is, while the 1-line control flag is OFF in the first and second embodiments of the present invention. It is not preferable because it lowers. However, if the 1-line control flag is O
When the FIFO 2b is filled with the untransferred data during N, the deterioration of the image quality can be reduced because the continuous sub-scanning does not occur twice or more.

【0052】このような2つの読取制御の作用の相違を
利用し、本発明の第1及び第2の実施例において、CP
U8は、読取制御切換手段として、1ライン制御フラグ
がONの状態のときは、副走査周期の後半で画像の読取
を行うよう制御し、1ライン制御フラグがOFFのとき
は、副走査周期の後半で画像の読取を行うよう制御する
のが、本発明の第3の実施例である。
Utilizing such a difference in the operation of the two read controls, the CP is used in the first and second embodiments of the present invention.
U8, as a reading control switching means, controls to read an image in the latter half of the sub-scanning cycle when the 1-line control flag is ON, and when the 1-line control flag is OFF, the sub-scanning cycle The third embodiment of the present invention controls to read an image in the latter half.

【0053】なお、以上説明した本発明の画像読取装置
の第1、第2及び第3の実施例では、次段の処理装置が
モデムである場合、つまり、ファクシミリ装置に本発明
を適用したが、ファクシミリ装置に限らず、次段の処理
装置として、画像読取装置でよみった画像データを用い
て何等からの処理を実行するが、その処理速度が画像読
取装置の画像読取速度より遅くなることがあるような各
種画像処理装置を用いる場合にも、本発明を適用できる
ことは言うまでもない。
In the first, second and third embodiments of the image reading apparatus of the present invention described above, the present invention is applied to the case where the next-stage processing apparatus is a modem, that is, the facsimile apparatus. Not only the facsimile apparatus but also the next-stage processing apparatus performs some processing using the image data read by the image reading apparatus, but the processing speed becomes slower than the image reading speed of the image reading apparatus. It is needless to say that the present invention can be applied to the case where various image processing apparatuses as described above are used.

【0054】[0054]

【発明の効果】請求項1に係る発明によれば、前記FI
FOメモリ内の未転送データの量が所定の上限量を越え
たときは、前記複数本のラインバッファのうち1本のラ
インバッファのみを用いて前記スキャナから前記処理装
置への画像データの転送を行なうように制御する1ライ
ン制御手段を備えているため、FIFOメモリが未転送
データで一杯になる機会がずっと少なくなる。たとえ、
一杯になったとしても、ラインバッファが1本しかない
ため、数回だけ連続する副走査の間欠的な繰返し行なわ
れにくい。したがって、FIFOメモリが未転送データ
で一杯になることにより従来発生しやすかった読み取ら
れた画像の劣化が、装置コストを上昇させることなく、
低減される。
According to the invention of claim 1, the FI
When the amount of untransferred data in the FO memory exceeds a predetermined upper limit amount, only one line buffer of the plurality of line buffers is used to transfer the image data from the scanner to the processing device. Since it has a one-line control means for controlling it to do so, the chances that the FIFO memory will be filled with untransferred data will be much less. for example,
Even if it becomes full, since there is only one line buffer, it is difficult to perform intermittent sub-scans that are repeated only several times. Therefore, the deterioration of the read image, which is apt to occur in the past due to the FIFO memory being filled with the untransferred data, does not increase the device cost,
Will be reduced.

【0055】また、請求項2に係る発明によれば、前記
FIFOメモリ内の未転送データの量が所定の上限量を
越えてから所定の下限量以下になるまでは、前記複数本
のラインバッファのうち1本のラインバッファのみを用
いて前記スキャナから前記処理装置への画像データの転
送を行なうように制御する1ライン制御手段を備えてい
るため、FIFOメモリが未転送データで一杯になるこ
とにより従来発生しやすかった読み取られた画像の劣化
が、装置コストを上昇させることなく、低減されるばか
りでなく、請求項1に係る発明では起き得る、FIFO
メモリの未転送データ量が前記所定の上限値付近である
ときの数回だけ連続する副走査の間欠的な繰返しが起き
なくなる。
According to a second aspect of the present invention, the plurality of line buffers are provided until the amount of untransferred data in the FIFO memory exceeds a predetermined upper limit amount and becomes equal to or less than a predetermined lower limit amount. The FIFO memory is filled with untransferred data because it is equipped with one-line control means for controlling the transfer of image data from the scanner to the processing device by using only one line buffer among them. As a result, the deterioration of the read image, which has been liable to occur in the past, is not only reduced without increasing the apparatus cost, but may occur in the invention according to claim 1.
When the amount of untransferred data in the memory is in the vicinity of the predetermined upper limit value, the intermittent repetition of the sub-scan that occurs only several times does not occur.

【0056】また、請求項3に係る発明によれば、読取
制御切換手段を備えているため、データ転送に用いるラ
インバッファを1本だけにしているときは、画像の読取
が副走査周期の後半で行なわれ、FIFOメモリが未転
送データで一杯になることにより従来発生しやすかった
読み取られた画像の劣化が請求項1及び2に係る発明よ
りもずっと低減されるばかりでなく、複数本のラインバ
ッファを用いてデータ転送しているときも、連続した画
像の読取を妨げることなく速い読取速度で画像を読み取
ることが出来る。
According to the third aspect of the invention, since the reading control switching means is provided, when only one line buffer is used for data transfer, the image reading is performed in the latter half of the sub-scanning cycle. The deterioration of the read image, which has been liable to occur in the past due to the fact that the FIFO memory is filled with untransferred data, is much reduced as compared with the invention according to claims 1 and 2, and a plurality of lines are also used. Even when data is transferred using the buffer, images can be read at a high reading speed without disturbing continuous reading of images.

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

【図1】本発明の実施例にかかる画像読取装置と次段の
処理装置の構成を示す図である。
FIG. 1 is a diagram showing a configuration of an image reading apparatus according to an exemplary embodiment of the present invention and a processing apparatus of a next stage.

【図2】本発明の第1実施例を示すフローチャートであ
る。
FIG. 2 is a flowchart showing a first embodiment of the present invention.

【図3】本発明の第2実施例を示すフローチャートであ
る。
FIG. 3 is a flowchart showing a second embodiment of the present invention.

【図4】本発明の第3実施例を説明するための、画像読
取タイミングを示す図である。
FIG. 4 is a diagram showing an image reading timing for explaining a third embodiment of the present invention.

【図5】従来のファクシミリ装置の構成の例を示すと共
に、本発明を適用するファクシミリ装置の構成を示す図
である。
FIG. 5 is a diagram showing an example of the configuration of a conventional facsimile device and also showing the configuration of a facsimile device to which the present invention is applied.

【図6】従来の画像読取装置においてFIFOメモリが
慢性的に未転送データで一杯になった際の作用について
説明するための図である。
FIG. 6 is a diagram for explaining an operation when a FIFO memory is chronically filled with untransferred data in a conventional image reading apparatus.

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

1 スキャナ 2 RAM 2a ラインバッファ群 2b FIFO 3 DCR 4 モデム 8 CPU 1 Scanner 2 RAM 2a Line Buffer Group 2b FIFO 3 DCR 4 Modem 8 CPU

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 スキャナで読み取った主走査ライン毎の
画像データを複数本のラインバッファに順次入力してい
く一方、前記ラインバッファに入力された前記画像デー
タをその入力順に順次処理装置に取り出して処理し、処
理した画像データを順次FIFOメモリを介して次段の
処理装置に転送する画像読取装置において、 前記FIFOメモリ内の未転送データの量が所定の上限
量を越えたときは、前記複数本のラインバッファのうち
1本のラインバッファのみを用いて前記スキャナから前
記処理装置への画像データの転送を行なうように制御す
る1ライン制御手段を備えていることを特徴とする画像
読取装置。
1. The image data for each main scanning line read by a scanner is sequentially input to a plurality of line buffers, and the image data input to the line buffer is sequentially taken out to a processing device in the order of input. In an image reading device that sequentially processes and processes the processed image data to a next-stage processing device via a FIFO memory, when the amount of untransferred data in the FIFO memory exceeds a predetermined upper limit amount, An image reading apparatus comprising one line control means for controlling to transfer image data from the scanner to the processing apparatus using only one line buffer among the line buffers.
【請求項2】 スキャナで読み取った主走査ライン毎の
画像データを複数本のラインバッファに順次入力してい
く一方、前記ラインバッファに入力された前記画像デー
タをその入力順に順次処理装置に取り出して処理し、処
理した画像データを順次FIFOメモリを介して次段の
処理装置に転送する画像読取装置において、 前記FIFOメモリ内の未転送データの量が所定の上限
量を越えてから所定の下限量以下になるまでは、前記複
数本のラインバッファのうち1本のラインバッファのみ
を用いて前記スキャナから前記処理装置への画像データ
の転送を行なうように制御する1ライン制御手段を備え
ていることを特徴とする画像読取装置。
2. The image data for each main scanning line read by a scanner is sequentially input to a plurality of line buffers, while the image data input to the line buffer is sequentially taken out to a processing device in the order of input. In an image reading device that sequentially processes and processes the processed image data to a next-stage processing device through a FIFO memory, a predetermined lower limit amount after the amount of untransferred data in the FIFO memory exceeds a predetermined upper limit amount. Until the following, one-line control means is provided to control so that the image data is transferred from the scanner to the processing device using only one line buffer among the plurality of line buffers. An image reading device characterized by.
【請求項3】 前記複数本のラインバッファのうち1本
のラインバッファのみを用いて前記スキャナから前記処
理装置への画像データの転送を行なうように制御されて
いるときは、スキャナによる画像の読み取りを所定の副
走査周期の後半で行ない、前記複数本のラインバッファ
を用いて前記スキャナから前記処理装置への画像データ
の転送が行われているときは、スキャナによる画像の読
み取りを前記所定の副走査周期の前半で行なうように制
御する読取制御切換手段を備えていることを特徴とする
請求項1又は2記載の画像読取装置。
3. An image read by a scanner when it is controlled to transfer image data from the scanner to the processing device using only one line buffer of the plurality of line buffers. Is performed in the latter half of a predetermined sub-scan cycle, and when image data is being transferred from the scanner to the processing device using the plurality of line buffers, the scanner reads the image by the predetermined sub-scan. 3. The image reading apparatus according to claim 1, further comprising a reading control switching unit that controls to perform in the first half of the scanning cycle.
JP18908294A 1994-07-20 1994-07-20 Image reader Pending JPH0832783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18908294A JPH0832783A (en) 1994-07-20 1994-07-20 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18908294A JPH0832783A (en) 1994-07-20 1994-07-20 Image reader

Publications (1)

Publication Number Publication Date
JPH0832783A true JPH0832783A (en) 1996-02-02

Family

ID=16235017

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18908294A Pending JPH0832783A (en) 1994-07-20 1994-07-20 Image reader

Country Status (1)

Country Link
JP (1) JPH0832783A (en)

Similar Documents

Publication Publication Date Title
EP0083247B1 (en) Facsimile data converting system
US5050006A (en) Multi-address calling system
US5579412A (en) Image processing apparatus
JPS6242551B2 (en)
US8126295B2 (en) Image processing apparatus and method of using the same
JPH0832783A (en) Image reader
US5485535A (en) Data processing system comprising a plurality of data processing apparatus conducting data communications through a bus line
EP0596644B1 (en) Image processing apparatus and method
JPH03157052A (en) Original document reader
EP0606076A1 (en) Reader for a facsimile apparatus
JP3121120B2 (en) Image processing device
JP3289933B2 (en) Image transmission device
JP2656134B2 (en) Sub-scan control method
KR950000284B1 (en) Data size changing device for fax
JP2574817B2 (en) Image communication device
KR100197462B1 (en) Reading method for image improvement of oa system
JPH0320102B2 (en)
JP2000137803A (en) Interface device and image forming device
JPS61198872A (en) Picture input device
JP2002300353A (en) Image reader
JPH04117070A (en) Facsimile equipment
JPH0457465A (en) Facsimile equipment
JPS58219868A (en) Transmitting device of facsimile
JPS62299172A (en) Facsimile transmitting equipment
JPS5994966A (en) Picture data compressing device