JPH04304577A - Image processor - Google Patents

Image processor

Info

Publication number
JPH04304577A
JPH04304577A JP6868891A JP6868891A JPH04304577A JP H04304577 A JPH04304577 A JP H04304577A JP 6868891 A JP6868891 A JP 6868891A JP 6868891 A JP6868891 A JP 6868891A JP H04304577 A JPH04304577 A JP H04304577A
Authority
JP
Japan
Prior art keywords
memory
image
image processing
fifo
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
JP6868891A
Other languages
Japanese (ja)
Inventor
Hitoshi Kogori
古郡 仁
Minoru Kobayashi
実 小林
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP6868891A priority Critical patent/JPH04304577A/en
Publication of JPH04304577A publication Critical patent/JPH04304577A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To surely process an image even in the speed unbalance of an input processing and the image processing and to enhance the usage efficiency of a memory device in an image processor which gives image data from an image scanner to an image processing part through a FIFO memory. CONSTITUTION:The FIFO memory is constituted by a FIFO controller 9 and a multi-port memory 8 and the multi-port memory 8 sequentially executes the writing and reading of image data from the image scanner 1 by the FIFO controller 9 and the writing and the reading of data from a system side so that the multi-port memory 8 is used as the FIFO memory device and also utilized as the memory for extending the main memory at the system side.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、イメージスキャナによ
る入力画像データを処理する画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for processing input image data from an image scanner.

【0002】0002

【従来の技術】イメージスキャナで読み取った画像の処
理装置には図2又は図3に示す構成のものがある。図2
において、イメージスキャナ1は図面や文書の図形,文
字等を画像としてラスタスキャンによって連続したドッ
トデータとして読み取り、入力処理部2は該ドットデー
タの2値化,多値化等によってディジタルデータに変換
し、画像メモリ31〜3nは入力処理されたドットデー
タを画面単位で記憶し、画像処理部4は画像メモリ31
〜3nに記憶する画像データからその特徴抽出や輪郭強
調等の画像処理を行う。CPU5及びメインメモリ6は
システムバスを介して処理結果をメインメモリ6に格納
したり他の装置(CAD等)へ転送し、また各部の制御
を行う。
2. Description of the Related Art Some apparatuses for processing images read by an image scanner have the configuration shown in FIG. 2 or 3. Figure 2
, an image scanner 1 reads figures, characters, etc. of drawings and documents as images as continuous dot data by raster scanning, and an input processing unit 2 converts the dot data into digital data by binarizing, multi-value, etc. , the image memories 31 to 3n store input-processed dot data on a screen-by-screen basis, and the image processing section 4 stores the input-processed dot data in screen units.
Image processing such as feature extraction and contour enhancement is performed from the image data stored in .about.3n. The CPU 5 and main memory 6 store processing results in the main memory 6 or transfer them to other devices (CAD, etc.) via the system bus, and also control each section.

【0003】この構成の画像処理装置は、イメージスキ
ャナ1によって読み取った画像データを画像メモリ31
〜3nに一旦格納し、画像処理部4あるいはCPU5に
よってデータ変換等の画像処理を行う。
The image processing apparatus having this configuration stores image data read by the image scanner 1 in an image memory 31.
~3n, and image processing such as data conversion is performed by the image processing unit 4 or CPU 5.

【0004】図3の構成は、入力処理部2の処理データ
をFIFO(FirstIn  First  Out
)メモリ7によって順次書込み及び読出しを行い、この
FIFOメモリ7からの読み出しを画像処理部4の処理
速度に合わせることで図2構成の画像メモリ31〜3n
を不要にする。
The configuration shown in FIG. 3 stores processing data of the input processing section 2 in a FIFO (First In First Out)
) The image memories 31 to 3n of the configuration shown in FIG.
make it unnecessary.

【0005】この構成ではFIFOメモリ7が画像読み
取りスピードと画像処理スピードのアンバランスを吸収
するバッファの機能を持ち、仮にスピードにアンバラン
スが無ければ特に必要としない。
In this configuration, the FIFO memory 7 has a buffer function that absorbs an imbalance between image reading speed and image processing speed, and is not particularly necessary if there is no speed imbalance.

【0006】[0006]

【発明が解決しようとする課題】従来の画像処理装置に
おいて、A0判の図面を16ドット/mmの精度で入力
するとき、その情報量は32メガバイトになる。このよ
うな多量のデータについて画像処理するには、図2の方
式では画像メモリ31〜3nに少なくとも1面(32メ
ガバイト)の容量が必要となり、画像処理の内容によっ
ては同等の画像メモリを2面あるいは3面分必要として
膨大なメモリ容量を必要とする。
In a conventional image processing apparatus, when an A0 size drawing is input with an accuracy of 16 dots/mm, the amount of information becomes 32 megabytes. In order to perform image processing on such a large amount of data, the method shown in FIG. Alternatively, three pages are required, which requires a huge memory capacity.

【0007】また、これだけ大量の情報を処理するには
高速の画像処理手段を必要とし、画像処理向きの特殊メ
モリ構造も要求され、汎用性に劣る。
Furthermore, processing such a large amount of information requires a high-speed image processing means, requires a special memory structure suitable for image processing, and is less versatile.

【0008】また、入力処理した画像データを一旦画像
メモリ31〜3nに蓄えるため、蓄え終わるまで画像処
理を実行できず、処理効率の悪いものになる。
Furthermore, since the input-processed image data is temporarily stored in the image memories 31 to 3n, image processing cannot be executed until the storage is completed, resulting in poor processing efficiency.

【0009】一方、図3の方式では入力処理と画像処理
が並行して行われるため、画像メモリ31〜3nを不要
にする。しかし、画像処理部4は画像の特徴抽出等のた
めには画像データの数ライン分のラインメモリを持って
パイプライン処理を行うことから、図2の方式のものに
較べて画像処理スピードの向上が難しくなる。
On the other hand, in the system shown in FIG. 3, input processing and image processing are performed in parallel, making the image memories 31 to 3n unnecessary. However, since the image processing unit 4 performs pipeline processing using line memory for several lines of image data in order to extract image features, etc., the image processing speed is improved compared to the system shown in FIG. becomes difficult.

【0010】このため、イメージスキャナの性能の違い
等によっては画像の入力平均スピードが画像処理部4の
平均処理スピードを上回る場合、あるいはスピードのア
ンバランスにより一時的にFIFOメモリ7に保留され
るデータの最大量が大きくなる場合等にはFIFOメモ
リ7の容量に大きなものを必要とする。極端な場合には
入力処理と画像処理のスピードアンバランス解消のため
に32メガバイト相当のFIFOメモリを必要とするが
アンバランス解消のみに設けられるのはメモリの利用効
率を悪くする。
For this reason, if the average input speed of images exceeds the average processing speed of the image processing section 4 due to differences in the performance of the image scanner, or if the data is temporarily held in the FIFO memory 7 due to speed imbalance. If the maximum amount of data becomes large, the FIFO memory 7 needs to have a large capacity. In an extreme case, a FIFO memory equivalent to 32 megabytes is required to eliminate the speed imbalance between input processing and image processing, but providing it only for eliminating the imbalance reduces memory utilization efficiency.

【0011】なお、FIFOメモリは多段のシフトレジ
スタ、あるいはメモリデバイスとこのデバイスがFIF
O的動作になるよう制御するFIFOコントローラとで
構成されるが、シフトレジスタ方式とする場合には回路
規模が膨大になって前述のFIFOメモリ7としての適
用が殆ど不可能であるし、メモリデバイスとコントロー
ラの組み合わせ方式にするもメモリデバイスに大容量の
ものを必要とし、画像メモリを設ける図2の場合と同様
の問題が残る。
[0011] FIFO memory is a multi-stage shift register, or a memory device and a FIFO memory.
However, if the shift register method is used, the circuit scale would be enormous and it would be almost impossible to apply it as the FIFO memory 7 mentioned above, and it would be difficult to use it as a memory device. Even if a combination of a controller and a controller is adopted, a large capacity memory device is required, and the same problem as in the case of FIG. 2 in which an image memory is provided remains.

【0012】本発明の目的は、メモリデバイスとそのコ
ントローラによるFIFOメモリ方式において、入力処
理と画像処理のスピードアンバランスにも画像処理を確
実にし、しかもメモリデバイスの利用効率を高めた画像
処理装置を提供することにある。
[0012] An object of the present invention is to provide an image processing apparatus that ensures reliable image processing even when there is a speed imbalance between input processing and image processing in a FIFO memory system using a memory device and its controller, and that also improves the utilization efficiency of the memory device. It is about providing.

【0013】[0013]

【課題を解決するための手段】本発明は前記課題の解決
を図るため、画像をラスタスキャンで読み取るイメージ
スキャナと、このイメージスキャナからのディジタル化
画像データをメモリデバイスに順次書き込み及び順次読
み出すFIFOメモリと、このメモリから読み出される
画像データを順次画像処理する画像処理部と、この画像
処理部の処理結果をシステムバスを介して取り込むCP
U及びメインメモリとを備えた画像処理装置において、
前記FIFOメモリは、FIFOコントローラとマルチ
ポートメモリを有し、該マルチポートメモリには該コン
トローラの制御による前記イメージスキャナからの画像
データの順次書込み/読出しと前記CPUの制御による
システムバスを通したデータの書込み/読出しを行う構
成にしたことを特徴とする。
[Means for Solving the Problems] In order to solve the above problems, the present invention provides an image scanner that reads images by raster scanning, and a FIFO memory that sequentially writes and sequentially reads digitized image data from the image scanner into a memory device. , an image processing unit that sequentially processes the image data read from this memory, and a CP that takes in the processing results of this image processing unit via the system bus.
An image processing device including a U and a main memory,
The FIFO memory has a FIFO controller and a multi-port memory, and image data is sequentially written/read from the image scanner under the control of the controller and data is transferred through the system bus under the control of the CPU. It is characterized in that it has a configuration for writing/reading.

【0014】[0014]

【作用】上記構成になる本発明によれば、マルチポート
メモリは画像処理の際に必要とするFIFOメモリとし
て利用すると共に、画像処理終了後はシステムバス側か
ら見てメインメモリと同様のメモリ機能を持たせ、該メ
インメモリの拡張用メモリ等に利用できるようにする。
[Operation] According to the present invention configured as described above, the multiport memory is used as a FIFO memory required during image processing, and after the image processing is completed, it has the same memory function as the main memory when viewed from the system bus side. The memory can be used as an expansion memory for the main memory.

【0015】[0015]

【実施例】図1は本発明の一実施例を示す構成図である
。同図が図3と異なる部分は、FIFOメモリ7に代え
てマルチポートメモリ8とFIFOコントローラ9を設
けた点にある。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing an embodiment of the present invention. The difference between this figure and FIG. 3 is that a multiport memory 8 and a FIFO controller 9 are provided in place of the FIFO memory 7.

【0016】マルチポートメモリ8は、第1のポートを
システムバスに接続し、第2のポートをFIFOコント
ローラに接続する。FIFOコントローラ9は、入力処
理部2からの画像データをマルチポートメモリ8に順次
書き込み及び該メモリ8からの順次読み出し制御を行い
、読み出した画像データを画像処理部4に転送する。
Multiport memory 8 has a first port connected to the system bus and a second port connected to the FIFO controller. The FIFO controller 9 sequentially writes image data from the input processing section 2 into the multiport memory 8 and controls sequential readout from the memory 8, and transfers the read image data to the image processing section 4.

【0017】一方、CPU5はマルチポートメモリ8に
対してシステムバスを通してデータの書き込みと読み出
し制御を行い、マルチポートメモリ8をメインメモリ6
の容量拡張のためのメモリとして利用する。例えば、マ
ルチポートメモリ8をCPU5のプログラムメモリやデ
ータメモリとして利用する。
On the other hand, the CPU 5 controls writing and reading data to the multiport memory 8 through the system bus, and transfers the multiport memory 8 to the main memory 6.
Used as memory for capacity expansion. For example, the multiport memory 8 is used as a program memory or data memory for the CPU 5.

【0018】上述の構成において、画像処理にはマルチ
ポートメモリ8とFIFOコントローラ9はイメージス
キャナ1の読み取りになる画像読み取りスピードと画像
処理部4による画像データの処理スピードとのアンバラ
ンスを吸収するデータバッファとして画像データの順次
書き込みと順次読み出し制御を行う。
In the above configuration, for image processing, the multiport memory 8 and the FIFO controller 9 use data to absorb the imbalance between the image reading speed of the image scanner 1 and the image data processing speed of the image processing unit 4. As a buffer, it controls the sequential writing and sequential reading of image data.

【0019】この画像処理において、A0判図面の画像
処理には、前述のようにスピードのアンバランス最悪で
は32メガバイトのFIFOメモリが要求され、マルチ
ポートメモリ8にはその容量を持つ構成にされる。ここ
で、画像処理が終了したとき、FIFO処理は不要にな
り、マルチポートメモリ8をメインメモリ6の拡張メモ
リ等に利用する。
In this image processing, for image processing of A0 size drawings, as mentioned above, a FIFO memory of 32 megabytes is required in the worst case due to speed imbalance, and the multiport memory 8 is configured to have that capacity. . Here, when the image processing is completed, the FIFO processing becomes unnecessary and the multiport memory 8 is used as an extension memory of the main memory 6 or the like.

【0020】例えば、画像処理が終了した後、CPU5
は画像データを使って図形の解読や文字の認識などの処
理を行うのに、大容量の解析プログラムを使用するが、
このプログラムをマルチポートメモリ8に書き込むこと
でメインメモリ6の必要容量を低減させる。
For example, after image processing is completed, the CPU 5
uses large-capacity analysis programs to perform processing such as deciphering shapes and recognizing characters using image data.
By writing this program into the multiport memory 8, the required capacity of the main memory 6 is reduced.

【0021】また、画像処理終了後、マルチポートメモ
リ8にはイメージスキャナ1で読み取った元の画像デー
タが書き込まれており、この画像データをマルチポート
メモリ8からCPU側に読み出して他システムへのデー
タ提供や画像処理結果のデータと共に文字認識等に利用
する。
Further, after the image processing is completed, the original image data read by the image scanner 1 is written in the multiport memory 8, and this image data is read out from the multiport memory 8 to the CPU side and sent to other systems. It is used for character recognition, etc. along with data provision and image processing result data.

【0022】さらに、画像処理対象図面の判が小さい場
合や精度(ドット/mm)を低くした画像処理では、画
像処理中でもマルチポートメモリ8の容量に余裕があり
、この余裕分をメインメモリ6の拡張分として利用する
Furthermore, when the size of the drawing to be image processed is small or when image processing is performed with low precision (dots/mm), there is a surplus capacity in the multiport memory 8 even during image processing, and this surplus capacity is used to store the capacity of the main memory 6. Use it as an extension.

【0023】[0023]

【発明の効果】以上のとおり、本発明によれば、FIF
Oメモリ方式による画像処理装置において、FIFOメ
モリをマルチポートメモリとFIFOコントローラで構
成し、マルチポートメモリはシステムバス側からのデー
タ書込み/読出しも行えるように構成するため、マルチ
ポートメモリの容量を画像処理と入力処理のスピードア
ンバランスや画像処理スピードの差が大きい最悪の場合
に必要な容量設計しておくことで画像処理を確実にし、
しかも該マルチポートメモリをシステム側のメインメモ
リ拡張用等として利用することでメモリの利用効率を高
めることができる。さらに、画像処理後にはマルチポー
トメモリに入力画像データが残っているため、該データ
をシステム側の処理に利用することができる。
[Effects of the Invention] As described above, according to the present invention, FIF
In an image processing device using the O memory method, the FIFO memory is configured with a multiport memory and a FIFO controller, and the multiport memory is configured so that data can be written/read from the system bus side. By designing the necessary capacity in the worst case where there is a speed imbalance between processing and input processing or a large difference in image processing speed, image processing can be ensured.
Moreover, by using the multiport memory for expanding the main memory on the system side, memory usage efficiency can be improved. Furthermore, since input image data remains in the multiport memory after image processing, this data can be used for processing on the system side.

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

【図1】本発明の一実施例を示す構成図。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】従来の構成図。FIG. 2 is a conventional configuration diagram.

【図3】従来の構成図。FIG. 3 is a conventional configuration diagram.

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

1…イメージスキャナ、2…入力処理部、4…画像処理
部、5…CPU、6…メインメモリ、8…マルチポート
メモリ、9…FIFOコントローラ。
1... Image scanner, 2... Input processing unit, 4... Image processing unit, 5... CPU, 6... Main memory, 8... Multiport memory, 9... FIFO controller.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  画像をラスタスキャンで読み取るイメ
ージスキャナと、このイメージスキャナからのディジタ
ル化画像データをメモリデバイスに順次書き込み及び順
次読み出すFIFOメモリと、このメモリから読み出さ
れる画像データを順次画像処理する画像処理部と、この
画像処理部の処理結果をシステムバスを介して取り込む
CPU及びメインメモリとを備えた画像処理装置におい
て、前記FIFOメモリは、FIFOコントローラとマ
ルチポートメモリを有し、該マルチポートメモリには該
コントローラの制御による前記イメージスキャナからの
画像データの順次書込み/読出しと前記CPUの制御に
よるシステムバスを通したデータの書込み/読出しを行
う構成にしたことを特徴とする画像処理装置。
1. An image scanner that reads an image by raster scanning, a FIFO memory that sequentially writes and sequentially reads digitized image data from the image scanner into a memory device, and an image that sequentially performs image processing on the image data read from this memory. In an image processing device including a processing unit, a CPU and a main memory that take in processing results of the image processing unit via a system bus, the FIFO memory includes a FIFO controller and a multiport memory, and the FIFO memory includes a FIFO controller and a multiport memory. An image processing apparatus characterized in that the image processing apparatus is configured to sequentially write/read image data from the image scanner under the control of the controller and write/read data through a system bus under the control of the CPU.
JP6868891A 1991-04-02 1991-04-02 Image processor Pending JPH04304577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6868891A JPH04304577A (en) 1991-04-02 1991-04-02 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6868891A JPH04304577A (en) 1991-04-02 1991-04-02 Image processor

Publications (1)

Publication Number Publication Date
JPH04304577A true JPH04304577A (en) 1992-10-27

Family

ID=13380939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6868891A Pending JPH04304577A (en) 1991-04-02 1991-04-02 Image processor

Country Status (1)

Country Link
JP (1) JPH04304577A (en)

Similar Documents

Publication Publication Date Title
US4624013A (en) Linked component extraction circuit for image processor
JPH03276262A (en) electronic filing device
EP0430500A2 (en) System and method for atomic access to an input/output device with direct memory access
JPH02208716A (en) Character and pattern output device
JP3053196B2 (en) Image data raster converter
JP3046711B2 (en) Correlation arithmetic unit
JPS61188671A (en) Image processor
JPH04251291A (en) Character string plotting system in raster image processing system
JP2981758B2 (en) Raster printer
JPH0140379B2 (en)
JPH0229834A (en) Image processor
JPH06259552A (en) Drawing input device
JPH0465777A (en) Image data transfer system
JP2830239B2 (en) Input display control device
JPH11205576A (en) Image processor
JPH02247693A (en) Text image overlay device
JP2002236917A (en) Image data processor
JPH04264682A (en) High speed histogram calculation circuit
JPS641827B2 (en)
JPH03164850A (en) Direct memory access device
JPS62192885A (en) Image scanning convertion processing system
JPH01251285A (en) Image processor
JPH03261575A (en) Image processing device
JPH03158962A (en) Document processor
JPH0465740A (en) External output system for main memory data