JPH0432978A - Image processor - Google Patents

Image processor

Info

Publication number
JPH0432978A
JPH0432978A JP13118690A JP13118690A JPH0432978A JP H0432978 A JPH0432978 A JP H0432978A JP 13118690 A JP13118690 A JP 13118690A JP 13118690 A JP13118690 A JP 13118690A JP H0432978 A JPH0432978 A JP H0432978A
Authority
JP
Japan
Prior art keywords
image
image data
read
data
block
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
JP13118690A
Other languages
Japanese (ja)
Inventor
Katsunori Kato
勝則 加藤
Izuru Haruhara
春原 出
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 JP13118690A priority Critical patent/JPH0432978A/en
Publication of JPH0432978A publication Critical patent/JPH0432978A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Abstract

PURPOSE:To shorten the time from the instruction of an original image read to its display by storing image data in one memory block when the image data is read by a specific amount, reading the image data out of the block and displaying the image data. CONSTITUTION:The image data is inputted to a serial port 10 in series through an input/output interface(I/F) 12 with a picture element clock signal CLK and a timing signal generator 11 counts the image clock signal CLK simultaneously with the image input; and a serial port 10 stops data transfer from a original reader 17 temporarily and information on a free flag set is written in the tail word on a buffer memory. The data stored in the serial port 10 is sent to the block 21 and the tail one word is rewritten from '1' to '0'. Then the input image data can be displayed on a CRT 3 in order even during the read of the image. Consequently, the time up to the display of the read image is shortened.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は画像処理装置、画像情報を読取って表示する画
像処理装置に関するものである。
The present invention relates to an image processing device and an image processing device that reads and displays image information.

【従来の技術】[Conventional technology]

従来、この種の装置において、原稿画像を読取りそれを
表示する場合、その読取り画像を一旦メモリに格納した
後、その画像を表示するように構成されていた。
Conventionally, in this type of apparatus, when reading a document image and displaying it, the read image is once stored in a memory and then the image is displayed.

【発明が解決しようとしてる課題】[Problem to be solved by the invention]

上記従来例では、画像全体が完全に読み取られた後に表
示操作を行なうために、読み取り動作指定後から、表示
装置(’ CRT等)に画像表示するまでにかなりの時
間がかがってしまうという欠点があった。 本発明はかかる問題に鑑みなされたものであり、原稿画
像読取り指示から表示されるまでの時間を短縮すること
を可能にする画像処理装置を提供しようとするものであ
る。
In the conventional example described above, the display operation is performed after the entire image has been completely read, so a disadvantage is that it takes a considerable amount of time from the time the reading operation is specified until the image is displayed on the display device ('CRT, etc.). there were. The present invention has been made in view of this problem, and it is an object of the present invention to provide an image processing device that makes it possible to shorten the time from an instruction to read a document image to its display.

【課題を解決するための手段】[Means to solve the problem]

この課題を解決するため、本発明の画像処理装置は以下
に示す構成を備える。すなわち、原稿画像を読取る読取
り手段と、所定容量毎に分割管理されたメモリブロック
群と、前記読取り手段により所定量の画像データが読取
られたとき、前記メモリブロックの1つに当該画像デー
タを格納する格納手段と、該格納手段で格納されたメモ
リブロックより画像データを読み出し表示する表示手段
とを備える。
In order to solve this problem, the image processing device of the present invention has the configuration shown below. That is, a reading means for reading an original image, a group of memory blocks divided and managed according to a predetermined capacity, and when a predetermined amount of image data is read by the reading means, the image data is stored in one of the memory blocks. and display means for reading and displaying image data from a memory block stored in the storage means.

【作用】[Effect]

かかる本発明の構成において、読取り手段で読取られつ
つ画像データが所定量に達する毎にメモリブロックの1
つに順次格納してい(。そして、一方では、画像データ
格納済みメモリブロックより画像データを読み圧して表
示する。
In the configuration of the present invention, each time the image data reaches a predetermined amount while being read by the reading means, one of the memory blocks is
On the other hand, the image data is read from the memory block in which the image data has already been stored and displayed.

【実施例] 以下、添付図面に従って本発明に係る実施例を詳細に説
明する。 第1図に実施例における画像処理装置のブロック構成図
を示す。 図中、1は文書や画像の作成・編集及び印刷のための画
像データ出力制御を行う制御部、2は制御部1から送ら
れる画像デニタ(イメージデータ)に従って記録媒体(
記録紙)に画像を記憶する画像プリンタ(例えばレーザ
ビームプリンタ等)、17は画像情報を光電的に読み取
り、電気的な画像データに変換する原稿リーダ、3は文
書・画像データ等を表示するCR7表示部である。 制御部lにおいて、5は装置全体の制御を司るCPUで
ある。6はCPU5が実行するプログラムを記憶してい
るROM、7はCPU5がワークエリアとして使用する
RAMである。このRAM7は印刷用又は表示用に展開
する前の文書データ(文字コードデータ、不図示のスキ
ャナで読み取った画像データ等)を−時的に記憶する。 8はフロッピーディスク(FD)であり、外部記憶装置
として各種の文書・画像ファイルを記憶する。4はキー
ボード(KBD)であり、文書データの作成・編集の他
、各種の制御指令を与える。13はCRTインタフェー
ス(CRT  I/F)  であり、CR7表示部3を
制御する。15はビデオRAM (VRAM)であり、
CRT表示用のイメージデータを記憶する。14はシス
テムバスである。 更に、16は画像メモリ部であり、ここには、入出力I
/F12を介して原稿リーダ17によって読み取られた
画像情報を格納する。そして、CPU5は、その読取り
画像情報の一部を切り出し、他の文字図形と組み合わせ
る等の画像加工を行なう。また、所望する画像データが
作成されると、その画像を画像メモリ部16内に展開し
直し、入出力I/F12を介して画像プリンタ2におい
て画像形式が行なわれる。 本実施例の画像メモリ部16はデュアルポートメモリで
構成されており、CPU5側からワードデータをランダ
ムにアクセス可能なランダムアクセスポート(RAP)
9と、画像プリンタ2への入出力I/F12を介するシ
リアル出力及び原稿リーダ17からの入出力I/Fを介
するシリアル入力可能なシリアルアクセスポート(SA
P)10を備える。また11はタイミング信号発生器で
あり、画像クロック信号をカウントすることにより、シ
リアルアクセスポート10を介して入出力されるワード
数をカウントし、その計数に応じてシリアルアクセスポ
ート10とランダムアクセスポート9の間の一括転送動
作の起動タイミングを与える。 第2図は実施例の画像メモリ部16における画像データ
入力動作を説明する図である。図において、ランダムア
クセスポート9のメモリは各所定サイズ(実施例では5
12ワード)のブロック21〜25等に分けられている
。各ブロックの最初から511ワ一ド分はイメージデー
タを記憶し、最後の1ワ一ド分(図の斜線部分)はその
ブロックが空き状態であるか否かを示すフラグを記憶す
る。尚、図示はしていないが、シリアルアクセスポート
10内には、512ワ一ド分のバッファメモリが設けら
れている。 このような構成で、原稿読取り指示なキーボード等より
受けると、CPU5は先ず、RAP9における全てのメ
モリブロックの空きフラグをセット状態(空き状態、例
えば“1”)にする。 次にCPU5により、原稿リーダ17に画像の読みとり
開始指示が送られる。これにより、画像リーダ17から
出力されてきた画像データは、入出力I/F12を介し
てシリアルポート10へ画素クロック信号CLKにより
シリアルに入力される。一方、タイミング信号発生器1
1は、シリアルボート10への画像入力と同時に画像ク
ロック信号CLKをカウントする。そして、511ワ一
ド分の転送が完了したとき、その旨の制御信号18を出
力する。シリアルボート10がこの信号を受けると、入
出力インタフェース12をしての原稿リーダ17からの
データ転送を一旦停止せしめ、かつ自身のバッファメモ
リの最終ワード(512ワード目)に、空きフラグセッ
トの情報(例えば、“0”)を書き込む、この空きフラ
グリセットの情報を書き込むと、そのシリアルポート1
0内のデータ(512ワード)をブロック21へ転送す
る。この時点でブロック21の最終1ワードは“l”か
ら“0”に書き換えられる。 以降、上記と同様の動作が繰り返され、ブロック22.
ブロック23.・・・と画像データが書き込まれていく
と同時に、その空きフラグが“1”から0″に書き換え
られる。 一方、CPU5は原稿リーダ17に対して起動をかけた
後は、ランダムアクセスポート9内の各ブロックの最終
ワードのみを読み出すことにより、原稿リーダ17から
のデータ転送を終了したか否かを判定可能となる。転送
終了したブロックに対してはシステムバス14を介して
表示のための画像展開処理をVRAM15に対して行な
う。 以上のようにして、原稿リーダ17において、画像読み
取り途中においても、入力された画像データを順次CR
T3へ表示が可能となる。 第3図は実施例におけるシリアルアクセスポート10近
傍の各要素の動作手順を示すフローチャートである。 先ず、ステップS1において、原稿リーダ17に読取り
開始指示を与え、次のステップS2においてシリアルア
クセスポート(SAP)10内のバッファメモリに読取
り画像を取り込みはじめる。そして、ステップS3にお
いて、511ワ一ド分の取り込みが完了したと判断する
まで、順次画像を取り込む。 こうして、511ワ一ド分の画像データ取り込みが完了
すると、次のステップs4において5AP10内の51
2ワード目に“On、すなわち、空き状態ではないこと
を示すデータをセットする。この後、ステップS5に進
み、ランダムアクセスポート(RAP)9内の空いてい
るメモリブロックに、その512ワ一ド分のデータの一
括転送を行う。この−括転送はタイミング信号発生器1
1から発生される信号によって行なわれることは既に説
明した通りである。 これ以降、ステップS6において、全てのゆおとり画像
に対しての転送が完了したと判断するまでステップ82
以下の処理を繰り返す。 次に、実施例のCPU5の実際の動作処理を第4図のフ
ローチャートに従って説明する。尚、このフローチャー
トに基づく処理はオペレータにより原稿読取り指示を受
けたときに実行されるものであり、ROM4にサブルー
チンプログラムとして記憶されているものである。 先ず、ステップSllにおいて、ランダムアクセスポー
ト(RAP)9内の全てのブロックの512ワード目を
1”にし、原稿リーダ17に読取り指示信号を与える。 この後、CPU5はRAP9内の各ブロックの512ワ
ード目を調べることで、画像データの格納済みブロック
の存在を検出するまで待つ。画像データ格納済みブロッ
クの存在を検出すると、そのブロック内の511ワ一ド
分のデータをVRAM15に転送する。尚、説明が前後
するが、原稿リーダ17の読取り解像度がCR7表示部
3の表示解像度より高い場合、間引き処理等を施し、画
像全体を表示するようにしても良い。 さて、511ワ一ド分のデータ転送が終了すると、CP
U5は次にとうがうブロックの512ワード目を“1”
にし、読取られた画像を再度格納可能なようにする。尚
、RAP9のメモリ容量が、原稿1枚分の記憶容量を有
するのであれば、この処理は不要である。 こうして、ステップS15において、1画面分の原稿画
像の転送が終了したと判断するまでステップS12以降
の処理を繰り返す。 【他の実施例】 上述実施例では、画像メモリとしてデュアルポートメモ
リを用いた。これはランダムボートとシリアルボート間
のデータ転送が容易なこと、かつシリアルボートに転送
終了データ(空きフラグ)を容易に書き込めること等の
理由による。しかし、本発明は上述実施のものに限らな
い。例えば、通常のシングルボートメモリを用いても、
同様な効果を得る画像メモリ部を構成できる。 この場合は、画素メモリ中の一定長毎に空きフラグを書
き込む位置を設定する。そして、原稿リーダ17から転
送されてきた画像データをカウントして空きフラグの位
置にきた時は一旦転送動作を停止し、そこにデータ転送
が終了した状態の情報を書き込めば良い。 以上説明したように本実適例によれば、読取られた部分
画像単位に順次表示するので、実質的に読取られつつあ
る画像を確認することが可能となる。
[Examples] Examples according to the present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 shows a block diagram of an image processing apparatus in an embodiment. In the figure, 1 is a control unit that controls the output of image data for creating, editing, and printing documents and images, and 2 is a recording medium (image data) according to the image data sent from the control unit 1.
17 is a document reader that photoelectrically reads image information and converts it into electrical image data; 3 is a CR7 that displays documents, image data, etc.; This is the display section. In the control unit 1, 5 is a CPU that controls the entire device. 6 is a ROM that stores programs to be executed by the CPU 5, and 7 is a RAM that the CPU 5 uses as a work area. This RAM 7 temporarily stores document data (character code data, image data read by a scanner (not shown), etc.) before being developed for printing or display. A floppy disk (FD) 8 stores various documents and image files as an external storage device. A keyboard (KBD) 4 provides various control commands in addition to creating and editing document data. 13 is a CRT interface (CRT I/F), which controls the CR7 display section 3; 15 is a video RAM (VRAM);
Stores image data for CRT display. 14 is a system bus. Furthermore, 16 is an image memory section, in which input/output I
/F12 to store image information read by the document reader 17. Then, the CPU 5 cuts out a part of the read image information and performs image processing such as combining it with other characters and figures. Further, when desired image data is created, the image is developed again in the image memory section 16 and is formatted in the image printer 2 via the input/output I/F 12. The image memory unit 16 of this embodiment is composed of a dual port memory, and includes a random access port (RAP) that allows word data to be randomly accessed from the CPU 5 side.
9 and a serial access port (SA
P) Equipped with 10. Further, 11 is a timing signal generator, which counts the number of words input/output via the serial access port 10 by counting the image clock signal, and depending on the count, the serial access port 10 and the random access port 9 Gives the start timing of the batch transfer operation between FIG. 2 is a diagram illustrating the image data input operation in the image memory section 16 of the embodiment. In the figure, the memory of the random access port 9 has each predetermined size (5 in the embodiment).
12 words) are divided into blocks 21 to 25, etc. Image data is stored in 511 words from the beginning of each block, and a flag indicating whether or not the block is vacant is stored in the last 1 word (shaded area in the figure). Although not shown, a buffer memory of 512 words is provided within the serial access port 10. With this configuration, when receiving a document reading instruction from the keyboard or the like, the CPU 5 first sets the empty flags of all memory blocks in the RAP 9 to a set state (an empty state, for example, "1"). Next, the CPU 5 sends an instruction to the document reader 17 to start reading the image. Thereby, the image data output from the image reader 17 is serially input to the serial port 10 via the input/output I/F 12 using the pixel clock signal CLK. On the other hand, timing signal generator 1
1 counts the image clock signal CLK at the same time as the image is input to the serial port 10. When the transfer of 511 words is completed, a control signal 18 to that effect is output. When the serial board 10 receives this signal, it temporarily stops data transfer from the document reader 17 through the input/output interface 12, and stores the empty flag set information in the last word (512th word) of its own buffer memory. (For example, “0”) If you write this empty flag reset information, the serial port 1
The data in 0 (512 words) is transferred to block 21. At this point, the last word of block 21 is rewritten from "l" to "0". Thereafter, operations similar to those described above are repeated, and block 22.
Block 23. At the same time as the image data is written, the empty flag is rewritten from "1" to "0". On the other hand, after the CPU 5 activates the document reader 17, By reading only the last word of each block, it is possible to determine whether or not the data transfer from the document reader 17 has been completed. Expansion processing is performed on the VRAM 15. As described above, in the original reader 17, even during image reading, the input image data is sequentially CR
Display on T3 becomes possible. FIG. 3 is a flowchart showing the operation procedure of each element near the serial access port 10 in the embodiment. First, in step S1, an instruction to start reading is given to the document reader 17, and in the next step S2, reading images are started to be captured in the buffer memory in the serial access port (SAP) 10. Then, in step S3, images are sequentially captured until it is determined that capture of 511 words has been completed. In this way, when the image data for 511 words has been captured, in the next step s4, 51 words of image data in 5AP10 are read.
The second word is set to "On", that is, data indicating that it is not in an empty state. After this, the process advances to step S5, and the 512 words are stored in an empty memory block in the random access port (RAP) 9. This batch transfer is performed by the timing signal generator 1.
What is done by the signal generated from 1 has already been explained. From now on, step 82 continues until it is determined in step S6 that the transfer of all Yuotori images has been completed.
Repeat the following process. Next, the actual operation processing of the CPU 5 of the embodiment will be explained according to the flowchart shown in FIG. Note that the processing based on this flowchart is executed when an instruction to read a document is received from the operator, and is stored in the ROM 4 as a subroutine program. First, in step Sll, the 512th word of all blocks in the random access port (RAP) 9 is set to 1" and a read instruction signal is given to the document reader 17. After this, the CPU 5 reads the 512th word of each block in the RAP 9. Wait until the presence of a block containing image data is detected by checking the eyes. When the presence of a block containing image data is detected, the data of 511 words in that block is transferred to the VRAM 15. Although the explanation is complicated, if the reading resolution of the document reader 17 is higher than the display resolution of the CR7 display section 3, thinning processing or the like may be performed to display the entire image.Now, 511 words worth of data may be displayed. When the transfer is completed, the CP
U5 sets the 512th word of the next block to “1”
and make it possible to store the scanned image again. Incidentally, if the memory capacity of the RAP 9 has a storage capacity for one document, this process is unnecessary. In this manner, the process from step S12 onward is repeated until it is determined in step S15 that the transfer of one screen's worth of original images has been completed. [Other Embodiments] In the above embodiments, a dual port memory was used as the image memory. This is because it is easy to transfer data between the random port and the serial port, and it is easy to write transfer end data (empty flag) to the serial port. However, the present invention is not limited to the embodiments described above. For example, even if you use normal single-board memory,
It is possible to configure an image memory section that achieves similar effects. In this case, the position where the empty flag is written is set every fixed length in the pixel memory. Then, the image data transferred from the document reader 17 is counted, and when the empty flag is reached, the transfer operation is temporarily stopped, and information indicating that the data transfer has been completed is written there. As described above, according to this practical example, since the partial images that have been read are sequentially displayed, it is possible to confirm the image that is actually being read.

【発明の効果】【Effect of the invention】

以上説明したように本発明によれば、原稿読取り開始か
ら読取り画像の表示するまでの時間を短縮することが可
能となる。
As described above, according to the present invention, it is possible to shorten the time from the start of document reading to the display of the read image.

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

第1図は実施例の画像処理装置のブロック構成図、 第2図は実施例の画像メモリ部の構成を示す図、 第3図は実施例の画像データ取り込みの制御手順を示す
フローチャート。 第4図は実施例におけるCPUの原稿読取りから表示に
係る動作処理内容を示すフローチャートである。 図中、1・・・制御部、2・・・画像プリンタ、3・・
・CRT、4・・・キーボード、5・・・CPU、6・
・・ROM、7・・・RAM、8・・・フロッピーディ
スク、9・・・ランダムアクセスボート、10・・・シ
リアルアクセスボート、11・・・タイミング信号発生
器、12・・・入出力1/F、13・・・CRTI/F
、14・・・システムバス、15・・・VRAMである
。 第3図
FIG. 1 is a block configuration diagram of an image processing apparatus according to an embodiment, FIG. 2 is a diagram showing a configuration of an image memory section according to an embodiment, and FIG. 3 is a flowchart showing a control procedure for capturing image data according to an embodiment. FIG. 4 is a flowchart showing the operational processing contents of the CPU in the embodiment from document reading to display. In the figure, 1...control unit, 2...image printer, 3...
・CRT, 4...Keyboard, 5...CPU, 6.
...ROM, 7...RAM, 8...floppy disk, 9...random access board, 10...serial access board, 11...timing signal generator, 12...input/output 1/ F, 13...CRTI/F
, 14... system bus, 15... VRAM. Figure 3

Claims (1)

【特許請求の範囲】 原稿画像を読取る読取り手段と、 所定容量毎に分割管理されたメモリブロック群と、 前記読取り手段により所定量の画像データが読取られた
とき、前記メモリブロックの1つに当該画像データを格
納する格納手段と、 該格納手段で格納されたメモリブロックより画像データ
を読み出し表示する表示手段とを備えることを特徴とす
る画像処理装置。
[Scope of Claims] Reading means for reading a document image; a group of memory blocks divided and managed according to a predetermined capacity; and when a predetermined amount of image data is read by the reading means, a corresponding one of the memory blocks is read. An image processing apparatus comprising: storage means for storing image data; and display means for reading and displaying image data from a memory block stored in the storage means.
JP13118690A 1990-05-23 1990-05-23 Image processor Pending JPH0432978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13118690A JPH0432978A (en) 1990-05-23 1990-05-23 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13118690A JPH0432978A (en) 1990-05-23 1990-05-23 Image processor

Publications (1)

Publication Number Publication Date
JPH0432978A true JPH0432978A (en) 1992-02-04

Family

ID=15052028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13118690A Pending JPH0432978A (en) 1990-05-23 1990-05-23 Image processor

Country Status (1)

Country Link
JP (1) JPH0432978A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007062821A (en) * 2005-08-31 2007-03-15 Yoshino Kogyosho Co Ltd Container having mechanism for jetting liquid or the like
JP2008013205A (en) * 2006-07-05 2008-01-24 Kao Corp Dispensing container with inner pressure absorbing mechanism

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007062821A (en) * 2005-08-31 2007-03-15 Yoshino Kogyosho Co Ltd Container having mechanism for jetting liquid or the like
JP2008013205A (en) * 2006-07-05 2008-01-24 Kao Corp Dispensing container with inner pressure absorbing mechanism

Similar Documents

Publication Publication Date Title
US5020115A (en) Methods and apparatus for dynamically scaling images
JPS61107392A (en) Image processing system
JP3005499B2 (en) Graphic processing apparatus and graphic processing method
JPH0432978A (en) Image processor
JPH11345242A (en) Image display method
JPS6267632A (en) Method and apparatus for transferring data to display unit from memory
JP3820682B2 (en) MEMORY CONTROL DEVICE, DATA WRITE / READ METHOD, AND IMAGING DEVICE
JPS62173526A (en) Page buffer control system
JPS6067990A (en) Picture information processor having density converting function
JPH0720833A (en) Graphics computer
JPH0520370A (en) Image file device
JPH0729448B2 (en) Printer controller
JPH04100474A (en) Printer device
JPS58102289A (en) Image editting system
JP2949760B2 (en) Image data expansion method
KR100197462B1 (en) Reading method for image improvement of oa system
JPS59162587A (en) Image display
JPS5851371A (en) Book processing system
JPS617769A (en) Image memory write control system
JPS58107589A (en) Screen clearing system for display unit
JPS6331830B2 (en)
JPH08163372A (en) Image data compressing and expanding method
JPS61219080A (en) Fast development of character
JPH04130945A (en) Information processor
JPH0729449B2 (en) Printer controller