JPH02245982A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH02245982A
JPH02245982A JP1068377A JP6837789A JPH02245982A JP H02245982 A JPH02245982 A JP H02245982A JP 1068377 A JP1068377 A JP 1068377A JP 6837789 A JP6837789 A JP 6837789A JP H02245982 A JPH02245982 A JP H02245982A
Authority
JP
Japan
Prior art keywords
memory
image
command
image processing
picture
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
JP1068377A
Other languages
Japanese (ja)
Inventor
Kokichi Taniai
谷合 高吉
Hajime Sato
一 佐藤
Shinji Oyamada
信次 小山田
Hidetoshi Shimura
志村 英年
Tadashi Saito
正 斎藤
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.)
Fujitsu Ltd
Fujitsu Microcomputer Systems Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Microcomputer Systems 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 Fujitsu Ltd, Fujitsu Microcomputer Systems Ltd filed Critical Fujitsu Ltd
Priority to JP1068377A priority Critical patent/JPH02245982A/en
Priority to KR1019900003484A priority patent/KR940004742B1/en
Priority to EP19900302749 priority patent/EP0389175A3/en
Publication of JPH02245982A publication Critical patent/JPH02245982A/en
Priority to US08/453,475 priority patent/US5655114A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the transfer time of picture data, and to speed up a picture processing by coupling a command parameter memory and a picture memory to different buses with an interposed picture processor. CONSTITUTION:A command parameter memory 2, which stores data to be processed by a picture processor 3, and a picture memory 4, which stores the picture data from the picture processor 3, are provided. Further the picture processor 3 and the command parameter memory 2, and the picture processor 3 and the picture memory 4 are respectively coupled by respectively different buses 7a and 7b. Consequently while the picture processor 3 executes the processing for the picture memory 4, a command to be next processed can be latched to the picture processor 3 from the memory of the command parameter. Thus the data transfer time can be shortened, and the picture processing can be sped up.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、種々の入力画像をその処理目的に適合して処
理するための画像処理装置に係り、特に、画像メモリ、
コマンド・パラメータメモリと画像処理プロセッサとの
間のデータのアクセスについての改良に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing device for processing various input images in a manner suited to its processing purpose, and particularly relates to an image processing device that processes various input images in accordance with its processing purpose.
This invention relates to improvements in data access between a command/parameter memory and an image processing processor.

近年、テレビカメラ等の画像入力装置を用いて対象画像
を入力し、検査や認識を行う画像処理装置の需要が増加
している。これは従来の目視による検査や認識の工程を
自動化して工場等における生産性の向上を図るためであ
る。
In recent years, there has been an increasing demand for image processing apparatuses that input target images using image input devices such as television cameras and perform inspection and recognition. This is to automate the conventional visual inspection and recognition process to improve productivity in factories and the like.

また、画像処理装置は、画像の変換、計測パターン認識
、シミュレーション画像の発生等の種々の分野に広く用
いられている。
Furthermore, image processing devices are widely used in various fields such as image conversion, measurement pattern recognition, and simulation image generation.

〔従来の技術〕[Conventional technology]

現在、CRTに図形等を表示する装置は、年々、高解像
度、ハイスピード化される傾向にある。このため、メイ
ンCPUが図形の描画処理を行っていたのでは時間がか
かりすぎ、システム性能の低下を招く。そこで、図形の
表示、描画処理を専門で行う装置が考えられ、メインC
PUはコマンド及びパラメータを発行するのみで、専門
の処理プロセッサが画像処理を行う方式が採用され始め
た。
Currently, devices that display graphics and the like on CRTs tend to have higher resolution and higher speed year by year. Therefore, if the main CPU were to perform graphic drawing processing, it would take too much time, leading to a decrease in system performance. Therefore, a device that specializes in graphic display and drawing processing was considered, and the main C
A system has begun to be adopted in which the PU only issues commands and parameters, and a specialized processor performs image processing.

しかし、このような方式では、画像処理プロセッサが処
理を行うたびにCPUが画像処理プロセッサに対して、
コマンド及びパラメータを発行しなければならないため
、CPU効率の低下を招くという欠点がある。
However, in such a system, each time the image processing processor performs processing, the CPU sends a message to the image processing processor.
Since commands and parameters must be issued, there is a drawback that CPU efficiency is reduced.

もう1つの方式として、画像処理プロセッサがみずから
DMA転送にて、コマンド、パラメータを取り込み画像
処理を行う方式がある。第4図に画像処理装置の構成例
を示す。画像処理装置は、画像処理プロセッサ101と
、処理対象となる画像データがファイルされた画像メモ
リ102と、画像処理プロセッサ101が処理を行なう
ためのコマンド及びパラメータを貯えておくコマンド・
パラメータメモリ103と、画像処理プロセッサ101
の内部レジスタの書き込み読み出しを行なうCPU10
4と、これらを結合するバス105と、画像メモリの画
像を出力するCPU104とからなる。
Another method is a method in which the image processing processor itself takes in commands and parameters through DMA transfer and performs image processing. FIG. 4 shows an example of the configuration of an image processing device. The image processing apparatus includes an image processing processor 101, an image memory 102 in which image data to be processed is stored, and a command memory 102 that stores commands and parameters for processing by the image processing processor 101.
Parameter memory 103 and image processing processor 101
The CPU 10 writes and reads the internal registers of
4, a bus 105 that connects these, and a CPU 104 that outputs images from the image memory.

次に画像データ転送時の動作を説明する。コマンド・パ
ラメータメモリ103には、画像処理プロセッサ103
が処理を行なうためのコマンド及びパラメータが貯られ
ており、画像処理プロセッサ103はこのコマンド・パ
ラメータメモリ103により、描画コマンド(例えば、
BITBLT、面描画、線描画等)、制御コマンド(例
えば、条件分岐等)、あるいは、パラメータ(例えば、
線描画の終点、始点等)を取り込み、画像メモリに対し
て条件判断を行う。そして、画像メモリ102により貯
えられた画像データがCRTに出力されるようになって
いる。
Next, the operation during image data transfer will be explained. The image processing processor 103 is stored in the command/parameter memory 103.
Commands and parameters for processing are stored, and the image processing processor 103 uses this command/parameter memory 103 to execute drawing commands (for example,
BITBLT, surface drawing, line drawing, etc.), control commands (e.g., conditional branching, etc.), or parameters (e.g.,
(end point, start point, etc. of line drawing) and performs condition judgment on the image memory. The image data stored in the image memory 102 is output to the CRT.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来の画像処理装置が有する問題点は、画像メモリ
102、コマンド・パラメータメモリ103と画像処理
プロセッサ101を1つのバス105でアクセスしてい
るため、画像処理プロセッサ101がコマンド・パラメ
ータを取り込んでいる時は、画像処理プロセッサ101
と画像メモリ102との間のアクセスができず、画像処
理プロセッサ101が画像処理を行なっているときは、
コマンド・パラメータの取り込みができなくなり処理効
率の低下を招くことになる。
The problem with the conventional image processing apparatus described above is that the image memory 102, command/parameter memory 103, and image processing processor 101 are accessed through one bus 105, so the image processing processor 101 takes in the command parameters. At the time, the image processing processor 101
When access between the image memory 102 and the image memory 102 is not possible and the image processing processor 101 is performing image processing,
This will make it impossible to import commands and parameters, resulting in a decrease in processing efficiency.

そこで、本発明は、画像メモリとコマンド・パラメータ
メモリとを異なるバスでアクセスして画像データの転送
時間の短縮化を図り、もって高速化を達成し得る画像処
理装置を提供することを目的とする。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an image processing device that accesses the image memory and the command/parameter memory using different buses to shorten the image data transfer time, thereby achieving speedup. .

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

上記課題を達成するため、本発明は、入力画像データを
所定のデータ形式に変換する画像処理プロセッサ(3)
と、画像処理プロセッサ(3)が処理を行なうデータを
貯えておくコマンド・バラメータメモリ(2)と、画像
処理プロセッサ(3)からの画像データを貯える画像メ
モリ(4)と、前記画像処理プロセッサ、コマンド・パ
ラメータメモリ及び画像メモリを結合するバス(7)と
を備えた画像処理装置において、画像処理プロセッサ及
びコマンド・パラメータメモリと、画像処理プロセッサ
及び画像メモリとを夫々異なるバス(7a、7b)で結
合して構成する。
In order to achieve the above object, the present invention provides an image processing processor (3) that converts input image data into a predetermined data format.
, a command/parameter memory (2) for storing data processed by the image processing processor (3), an image memory (4) for storing image data from the image processing processor (3), and the image processing processor; In an image processing device equipped with a bus (7) that connects a command/parameter memory and an image memory, the image processor and command/parameter memory and the image processor and image memory are connected to different buses (7a, 7b), respectively. Combine and compose.

〔作用〕[Effect]

上記構成を有する本発明によれば、コマンド・パラメー
タと、画像メモリとを夫々異なるバス(7a、7b)で
アクセスするので画像処理プロセッサが画像メモリに対
しての処理を行なっている最中に画像処理プロセッサに
コマンド・パラメータのメモリより次に処理するコマン
ドをラッチする事ができる。したがって、データの転送
時間の短縮、ひいては画像処理の高速化が可能となる。
According to the present invention having the above configuration, since the command/parameter and the image memory are accessed through different buses (7a, 7b), the image processing processor can access the image while the image processing processor is processing the image memory. The next command to be processed can be latched into the processor from the command/parameter memory. Therefore, it is possible to shorten data transfer time and speed up image processing.

〔実施例〕〔Example〕

次に、本発明の実施例を図面に基づいて説明する。 Next, embodiments of the present invention will be described based on the drawings.

第1図を参照すると、本発明による画像処理装置1は、
コマンド・パラメータメモリ2を有する。
Referring to FIG. 1, an image processing device 1 according to the present invention includes:
It has a command/parameter memory 2.

コマンド拳パラメータメモリ2は、画像処理プロセッサ
3が処理を行うためのコマンド及びパラメータを貯えて
おくメモリであり、画像処理プロセッサ3は、このコマ
ンド−パラメータメモリ2より、描画コマンド(例えば
BITBLT、面描画、線描画等)、制御コマンド(例
えば条件分岐等)、あるいはパラメータ(例えば、線描
画の終点、始点等)を取り込み、画像メモリ4に対して
描画あるいは、条件判断を行う。画像メモリ4は、CR
T5に表示するための図形等を貯えておくためのメモリ
であり、画像処理プロセッサ3によりアクセスされる。
The command parameter memory 2 is a memory that stores commands and parameters for the image processing processor 3 to perform processing, and the image processing processor 3 receives drawing commands (for example, BITBLT, area drawing , line drawing, etc.), control commands (for example, conditional branching, etc.), or parameters (for example, end point, start point of line drawing, etc.), and draw on the image memory 4 or make conditional judgments. The image memory 4 is CR
This is a memory for storing figures and the like to be displayed on T5, and is accessed by the image processing processor 3.

CPU6は、画像処理プロセッサ3の内部レジスタの書
き込み及び読み出しを行う。
The CPU 6 writes to and reads from the internal registers of the image processing processor 3.

そして、これらのCPU6、コマンド・パラメータメモ
リ2、画像メモリ4、CRT5はバス7a、7bに夫々
結合されており、コマンド・パラメータメモリ2と、画
像メモリ4とは画像処理プロセッサ3をはさんで異なる
バス7a、7bに夫々結合されている。
These CPU 6, command/parameter memory 2, image memory 4, and CRT 5 are connected to buses 7a and 7b, respectively, and the command/parameter memory 2 and image memory 4 are different from each other with the image processing processor 3 in between. They are coupled to buses 7a and 7b, respectively.

第2図に画像処理プロセッサ3の内部構成図が示されて
いる。バスインターフェイス8は画像処理プロセッサ3
外部のアドレスデータを内部アドレス及びデータバスに
出力するインターフェース回路であり、主にラッチ及び
バッファで構成される。コマンドレジスタ9は、画像プ
ロセッサ外部より取り込まれたコマンドをラッチしてお
くためのレジスタである。描画ユニット10はコマンド
レジスタにラッチされたコマンド(例えば、BITBL
T、面描画、線描画等)を実行するためのユニットであ
る。グラフィックインターフェース11は画像メモリ4
と画像処理プロセッサ3とのインタフェースを行うブロ
ックであり、例えば、線描画コマンドの時には描画ユニ
ット10より送られてくるグラフィックデータを画像メ
モリ4に書き込む時には、画像メモリ4より、グラフィ
ックデータを読み出し、描画ユニット10に送る等の処
理を行なう。
FIG. 2 shows an internal configuration diagram of the image processing processor 3. The bus interface 8 is the image processing processor 3
This is an interface circuit that outputs external address data to an internal address and data bus, and is mainly composed of latches and buffers. The command register 9 is a register for latching commands taken in from outside the image processor. The drawing unit 10 receives a command (for example, BITBL) latched in a command register.
This is a unit for executing (T, area drawing, line drawing, etc.). Graphic interface 11 is image memory 4
This is a block that interfaces with the image processing processor 3. For example, in the case of a line drawing command, when writing graphic data sent from the drawing unit 10 to the image memory 4, it reads the graphic data from the image memory 4 and performs drawing. Processing such as sending the data to the unit 10 is performed.

このように構成された画像処理装置1によれば、コマン
ド・パラメータメモリより最初に実行されるコマンドが
バスインターフェイス8を介してコマンドレジスタ9に
ラッチされる。そのラッチされたコマンドにより描画ユ
ニット10はグラフィックインターフェイス11に、グ
ラフィックインターフェイス11は画像メモリ4に対し
処理を開始する。その処理中にコマンドレジスタ9には
次に実行されるコマンドがラッチされる。そして最初の
コマンドの処理が終了したならば、直ちにコマンドレジ
スタ9にラッチされたコマンドの実行を開始する。
According to the image processing apparatus 1 configured in this manner, the first command to be executed from the command/parameter memory is latched into the command register 9 via the bus interface 8. In response to the latched command, the drawing unit 10 starts processing the graphic interface 11, and the graphic interface 11 starts processing the image memory 4. During this processing, the next command to be executed is latched into the command register 9. Immediately after the processing of the first command is completed, execution of the command latched in the command register 9 is started.

次に、第3図は従来の画像メモリ102とコマンド・パ
ラメータメモリ103を1つのバスでアクセスしている
場合と本発明である異なるバスでアクセスした場合との
処理時間の比較図である。
Next, FIG. 3 is a comparison diagram of the processing time between the conventional case where the image memory 102 and the command/parameter memory 103 are accessed through one bus, and the case where they are accessed using different buses according to the present invention.

TOIは従来のコマンド・パラメータメモリ103のア
クセス時間、TO2は従来の画像メ、モリ102のアク
セス時間、TNlは、本発明のコマンド・パラメータメ
モリのアクセス時間、TN2は、本発明の画像メモリの
アクセス時間を表す。このように画像メモリ4とコマン
ド・パラメータメモリ2を異なるバスでアクセスしてる
ため、画像メモリ4に対しての処理を行っている最中に
コマンドレジスタ9にコマンド・パラメータメモリ2よ
り次に処理するコマンドをラッチすることができる。す
なわち、第3図中、TN2のアクセス時間T  、T2
の間に、コマンド・パラン−タメモリがアクセスされる
。このことにより、従来のコマンド・パラメータメモリ
のアクセス時間と、画像メモリのアクセス時間TOI、
TO2は重複することがなく、全体のアクセス時間はT
olとTO2を加えた時間になるが、本発明によれば、
T  、T2だけアクセス時間が短縮され、■ その分だけ画像処理の高速化が可能となる。
TOI is the access time of the conventional command/parameter memory 103, TO2 is the access time of the conventional image memory 102, TNl is the access time of the command/parameter memory of the present invention, and TN2 is the access time of the image memory of the present invention. represents time. Since the image memory 4 and the command/parameter memory 2 are accessed through different buses in this way, while the image memory 4 is being processed, the next processing from the command/parameter memory 2 is stored in the command register 9. Commands can be latched. That is, in FIG. 3, access times T and T2 of TN2
During this time, the command/parameter memory is accessed. As a result, the conventional command/parameter memory access time and the image memory access time TOI,
TO2 does not overlap and the total access time is T
The time is the sum of ol and TO2, but according to the present invention,
The access time is shortened by T and T2, and image processing speed can be increased by that amount.

〔発明の効果〕〔Effect of the invention〕

以上述べたように、本発明によれば画像メモリとコマン
ド・パラメータメモリとを異なるバスでアクセスしてい
るために、画像メモリに対しての処理を行っている最中
に、画像処理装置のコマンドレジスタにコマンドパラメ
ータのメモリより次に処理するコマンドをラッチするこ
とができる。
As described above, according to the present invention, since the image memory and the command/parameter memory are accessed through different buses, the image processing device command The next command to be processed can be latched into the register from the command parameter memory.

このことにより、画像データの転送時間の短縮が可能と
なり、画像処理の高速化が可能となる。
This makes it possible to shorten the image data transfer time and speed up image processing.

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

第1図は本発明の実施例を示すブロック図、第2図は画
像処理プロセッサの内部構成図、第3図は従来と本発明
との処理時間の比較を示す説明図、 第4図は従来技術の画像処理プロセッサのブロック図で
ある。 101・・・画像処理プロセッサ 102・・・画像メモリ 103・・・コマンド・パラメータメモリ104 ・・
・ CPU 1・・・画像処理装置 2・・・コマンド・パラメータメモリ 3・・・画像処理プロセッサ 4・・・画像メモリ 5・・・CRT 6・・・CPU 7a、7b・・・バス 8・・・バスインターフェイス 9・・・コマンドレジスタ 10・・・描画ユニット 11・・・グラフィックインターフェイス従来技術の画
像処理ブロモ、すのフロ、り口笛  4  図
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is an internal configuration diagram of an image processing processor, FIG. 3 is an explanatory diagram showing a comparison of processing time between the conventional method and the present invention, and FIG. 4 is a conventional example. 1 is a block diagram of the technology's image processing processor; FIG. 101... Image processing processor 102... Image memory 103... Command/parameter memory 104...
- CPU 1... Image processing device 2... Command/parameter memory 3... Image processing processor 4... Image memory 5... CRT 6... CPU 7a, 7b... Bus 8...・Bus interface 9...Command register 10...Drawing unit 11...Graphic interface Conventional technology image processing Bromo, Sunoflow, Riwhistle 4 Figure

Claims (1)

【特許請求の範囲】[Claims] 入力画像データを所定のデータ形式に変換する画像処理
プロセッサ(3)と、画像処理プロセッサ(3)が処理
を行なうデータを貯えておくコマンド・パラメータメモ
リ(2)と、画像処理プロセッサ(3)からの画像デー
タを貯える画像メモリ(4)と、前記画像処理プロセッ
サ(3)、コマンド・パラメータメモリ(2)及び画像
メモリ(4)を結合するバス(7)を備えた画像処理装
置において、コマンド・パラメータメモリ(2)と、画
像メモリ(4)とを夫々異なるバス(7a、7b)でア
クセスするようにしたことを特徴とする画像処理装置。
An image processing processor (3) that converts input image data into a predetermined data format; a command/parameter memory (2) that stores data processed by the image processing processor (3); An image processing apparatus comprising an image memory (4) for storing image data, and a bus (7) connecting the image processing processor (3), command/parameter memory (2), and image memory (4). An image processing device characterized in that a parameter memory (2) and an image memory (4) are accessed through different buses (7a, 7b).
JP1068377A 1989-03-15 1989-03-20 Picture processor Pending JPH02245982A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP1068377A JPH02245982A (en) 1989-03-20 1989-03-20 Picture processor
KR1019900003484A KR940004742B1 (en) 1989-03-15 1990-03-15 System and apparatus having least used bus access
EP19900302749 EP0389175A3 (en) 1989-03-15 1990-03-15 Data prefetch system
US08/453,475 US5655114A (en) 1989-03-15 1995-05-30 System and device for prefetching command and parameters to be processed with least frequent bus access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1068377A JPH02245982A (en) 1989-03-20 1989-03-20 Picture processor

Publications (1)

Publication Number Publication Date
JPH02245982A true JPH02245982A (en) 1990-10-01

Family

ID=13371991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1068377A Pending JPH02245982A (en) 1989-03-15 1989-03-20 Picture processor

Country Status (1)

Country Link
JP (1) JPH02245982A (en)

Similar Documents

Publication Publication Date Title
US4967375A (en) Fast architecture for graphics processor
JP3106872B2 (en) Image processing processor and data processing system using the same
US5553228A (en) Accelerated interface between processors and hardware adapters
US9019284B2 (en) Input output connector for accessing graphics fixed function units in a software-defined pipeline and a method of operating a pipeline
JPH02245982A (en) Picture processor
CN112328360A (en) Dual-system touch sharing method and device
JPS6334658A (en) Dma controller for image processor
JP3077687B2 (en) Data transfer method and image processing apparatus
JP3162365B2 (en) Data processing device
JPS61233869A (en) Picture processor
JPH05224866A (en) Graphic-information processing system
JP2992406B2 (en) Information processing device
JP2002342301A (en) Microcomputer provided with coprocessor
JPH1185455A (en) Graphic drawing and processing system
JPH02242379A (en) Picture processing device
JPS63147247A (en) Converting device for data format
JPH1124960A (en) Graphics lsi
JPS61123937A (en) Data drive type control system
JPH05334449A (en) Graphics controller
JPH0242587A (en) Picture processor
JPH04271429A (en) Display system for character string echo
JPS63240620A (en) Picture display device
JPH01166241A (en) Information processor
JPH0395690A (en) Picture processor
JPH0612368A (en) High-definition image processor