JPH01131969A - Image processing device - Google Patents
Image processing deviceInfo
- Publication number
- JPH01131969A JPH01131969A JP28928887A JP28928887A JPH01131969A JP H01131969 A JPH01131969 A JP H01131969A JP 28928887 A JP28928887 A JP 28928887A JP 28928887 A JP28928887 A JP 28928887A JP H01131969 A JPH01131969 A JP H01131969A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image memory
- address
- processor
- 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.)
- Granted
Links
- 230000015654 memory Effects 0.000 claims abstract description 51
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000009466 transformation Effects 0.000 description 4
- 239000000872 buffer Substances 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Image Processing (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は画像処理装置に係り、特に処理の高速化を実現
するためのバス構成に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing apparatus, and more particularly to a bus configuration for realizing high-speed processing.
画像処理装置としては、従来例えば第4図に示すものが
ある。同図において、1,2.3は画像メモリ、4はア
ドレスバスX、YとデータバスA、B、Cの5木からな
る共通バス、5は−の画像メモリから入力した画像デー
タに基づき所定の演算を行ってその結果を他の画像メモ
リに書込むプロセッサ、6..7,8.9は出力バッフ
ァ、10は各画像メモリ1,2.3にアドレスデータを
出力するアドレス制御部、11はプロセッサ5、アドレ
ス制御部10等を制御するコントローラ、12は画像メ
モリVRAM1〜VRAMmを制御するVRAMコント
ローラである。As an image processing apparatus, there is a conventional one shown in FIG. 4, for example. In the figure, 1, 2.3 are image memories, 4 is a common bus consisting of 5 trees of address buses X, Y, and data buses A, B, C, and 5 is a predetermined image data input from the image memory of 6. a processor that performs the calculation and writes the result to another image memory; .. 7, 8.9 are output buffers, 10 is an address control unit that outputs address data to each image memory 1, 2.3, 11 is a controller that controls the processor 5, address control unit 10, etc., and 12 is an image memory VRAM1 to This is a VRAM controller that controls VRAMm.
かかる装置において、例えば画像メモリ1.2の画像デ
ータを加算して画像メモリ3に書き込むような処理を行
なう場合、データバスA、Bから入力する画像メモリ1
.2のデータをプロセッサ5で加算した後、その結果を
データバスCに出力し、該バスCを介してプロセッサ5
の出力データを画像メモリ3に書き込めば良い。尚、こ
のときアドレス制御部10によって画像メモリ1゜2,
3のアドレスを一画面走査する(例えば特開昭61−1
53774号参照)。In such a device, when performing processing such as adding image data in image memories 1 and 2 and writing them into image memory 3, for example, image data input from data buses A and B are added to image memory 1.
.. After the processor 5 adds the data of 2, the result is output to the data bus C, and the processor 5
It is sufficient to write the output data to the image memory 3. Incidentally, at this time, the address control section 10 controls the image memory 1゜2,
Scan the address of 3 one screen (for example, Japanese Patent Application Laid-Open No. 61-1
53774).
ところで、このような従来の画像処理装置にあっては、
画像メモリのアドレスを固定のバスから入力しており、
またプロセッサの入力も固定のバスから行なっていたた
めに、例えばアフィン変換(図形の回転)などのように
画像メモリのアドレスを計算する必要のある処理が実行
できないという問題がある。また画像メモリやプロセッ
サの台数を増やしたり、バスの本数を増やしても接続上
の制約から処理の柔軟性、汎用性に欠け、処理の高速化
が図れないという問題がある。By the way, in such conventional image processing devices,
The image memory address is input from a fixed bus,
Furthermore, since input to the processor is also performed from a fixed bus, there is a problem in that processing that requires calculation of image memory addresses, such as affine transformation (rotation of figures), cannot be executed. Furthermore, even if the number of image memories and processors is increased, or the number of buses is increased, there is a problem that processing flexibility and versatility are lacking due to connection constraints, and processing speed cannot be increased.
そこで本発明の目的は、少数本の共通バスの下でアドレ
ス演算を可能とするとともに画像メモリやプロセッサの
増設をより容易にして処理の汎用性をもたせることにあ
る。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to enable address calculations under a small number of common buses, and to make it easier to add image memories and processors to provide processing versatility.
(問題点を解決するための手段)
前記目的を達成して従来技術の問題点を解決するため、
本発明に係る画像処理装置は、共通バスに接続された複
数の画像メモリと、該共通バスを介して入力した一の画
像メモリから画像データに基づく演算結果を該共通バス
を介して他の画像メモリに書き込むプロセッサとを備え
る画像処理装置において、各画像メモリの横アドレス、
縦アドレス、およびデータ入力につきそれぞれ独立して
前記共通バスから入力選択を行なうセレクタを各画像メ
モリに対応して複数設けるとともに、プロセッサを複数
設けて各プロセッサの入力をそれぞれ独立に共通バスか
ら選択できるセレクタを各プロセッサに対応して複数設
けた。(Means for solving the problems) In order to achieve the above objectives and solve the problems of the prior art,
An image processing device according to the present invention includes a plurality of image memories connected to a common bus, and a calculation result based on image data from one image memory inputted via the common bus to another image via the common bus. In an image processing device including a processor that writes to the memory, a horizontal address of each image memory,
A plurality of selectors are provided for each image memory to independently select inputs from the common bus for vertical addresses and data inputs, and a plurality of processors are provided so that the inputs of each processor can be independently selected from the common bus. Multiple selectors were provided for each processor.
以下、添付図面に基づいて本発明の詳細な説明する。第
1図は本発明に係る画像処理装置の一例を示すものであ
る。Hereinafter, the present invention will be described in detail based on the accompanying drawings. FIG. 1 shows an example of an image processing apparatus according to the present invention.
同図において20は、データバスA、B、Cおよびアド
レスバスX、Yからなる共通バス、V RA M 1〜
V RA M mは複数(m個)の画像メモリ、S□〜
Smは各画像メモリVRAM1〜VRAMmに対応して
設けたセレクタである。このセレクタ81〜5ITlは
、Xアドレスについては、少なくともアドレスバスXと
データバスA。In the figure, reference numeral 20 denotes a common bus consisting of data buses A, B, C and address buses X, Y;
V RA M m is a plurality of (m) image memories, S□~
Sm is a selector provided corresponding to each image memory VRAM1 to VRAMm. The selectors 81 to 5ITl select at least the address bus X and the data bus A for the X address.
B、Cのうちから一つを選択し、Yアドレスも同様に少
なくともアドレスバスYとデータバスA。One of B and C is selected, and the Y address is also at least address bus Y and data bus A.
B、Cのうちから一つを選択し、データ入力はデータバ
スA、B、Cから一木を選択する。また画像出力(ou
t)については、データバスA。One of data buses A, B, and C is selected, and one tree is selected from data buses A, B, and C for data input. Also, image output (ou
t), data bus A.
B、Cのいずれかに出力できるよう出力バッファB□〜
B、nを設叶る。またP工〜Pnは画像データに関する
所定演算を実行する複数(n個)のプロセッサで、各プ
ロセッサP□〜Pnはそれぞれ少なくとも2つの入力を
もち、セレクタsP□〜SPnを介してデータバスA、
B、CおよびアドレスバスX、Yのいずれからも入力選
択できるようになっている。またプロセッサP1〜Pn
の出力は、出力バッファBP□〜BPnを介してデータ
バスA、B、Cのいずれかに出力可能となっている。尚
、このプロセッサP□〜Pnは、例えば第2図に示すよ
うに、定数乗算、sin、cos等の関数変換を行なう
LUT (ルックアップテーブル)を介して加減、論理
、演算を行なうALU(演算処理装置)に入力するよう
になっている。Output buffer B□~ to output to either B or C
B, set up n. Further, P-Pn are a plurality of (n) processors that execute predetermined operations on image data, each processor P□-Pn has at least two inputs, and a data bus A,
Input can be selected from any of address buses B, C, and address buses X and Y. In addition, processors P1 to Pn
The output can be output to any of data buses A, B, and C via output buffers BP□ to BPn. As shown in FIG. 2, the processors P□ to Pn each have an ALU (operation unit) that performs addition/subtraction, logic, and calculations via an LUT (lookup table) that performs function conversion such as constant multiplication, sin, and cos. processing device).
LUTへの書き込み(初期設定)はホストコンピュータ
等により行なう。第1図に戻り、21はVRAMコント
ローラで、各画像メモリVRAM1−VRAMmのリー
ド、ライト制御の他の、セレクタS工〜Smの制御を行
なう。このVRAMコントローラ21による制御は各画
像メモリVRAMI〜VRAMmごとに独立して行なう
。また22.23はそれぞれ従来装置と同様のアドレス
制御部、コントローラである。尚、これら全体はホスト
コンピュータによって制御されるが、簡単のために図示
を省略する。Writing to the LUT (initial setting) is performed by a host computer or the like. Returning to FIG. 1, reference numeral 21 denotes a VRAM controller which controls read and write of each of the image memories VRAM1 to VRAMm and also controls selectors S to Sm. This control by the VRAM controller 21 is performed independently for each of the image memories VRAMI to VRAMm. Further, 22 and 23 are an address control section and a controller, respectively, which are similar to those in the conventional device. Note that although these are all controlled by a host computer, illustration is omitted for the sake of simplicity.
次に第3図に基づきアフィン変換(画像の回転)を例に
とり、本装置の作動を説明する。Next, the operation of this apparatus will be explained based on FIG. 3, taking affine transformation (image rotation) as an example.
今、原画像が格納されている画像メモリVRAM1のデ
ータに基づいてアフィン変換を行ない、変換後のデータ
を画像メモリVRAMmに格納するものとする。この場
合、画像メモリVRAM1をリード状態に設定し、セレ
クタS□を介してXアドレスにはデータバスAを、Yア
ドレスにはデータバスBを選択させ、プロセッサP□、
PnがそれぞれデータバスA、Bに出力するp、qアド
レスを画像メモリVRAM1に入力して、該画像データ
VRAM1が格納している画像データをデータバスCに
出力させる。他方、画像メモリV RA M mはライ
ト状態に設定し、セレクタS、、、を介してXアドレス
はアドレスバスXをYアドレスはアドレスバスYを選択
させ、アドレス制御部22より送出されるX、Xアドレ
スを入力させる一方、画像データの入力については共通
バスCを選択させて、画像メモリVRAM1のデータを
入力させる。Now, it is assumed that an affine transformation is performed based on the data in the image memory VRAM1 in which the original image is stored, and the transformed data is stored in the image memory VRAMm. In this case, the image memory VRAM1 is set to the read state, data bus A is selected for the X address and data bus B is selected for the Y address via the selector S□, and the processor P□,
The p and q addresses output by Pn to the data buses A and B, respectively, are input to the image memory VRAM1, and the image data stored in the image data VRAM1 is output to the data bus C. On the other hand, the image memory VRAMm is set to the write state, and selects the address bus X for the X address and the address bus Y for the Y address via the selectors S, . While inputting the X address, the common bus C is selected for inputting image data, and data from the image memory VRAM1 is inputted.
またプロセッサp、、pnの入力は、それぞれセレクタ
SP□、sp、を介してアドレスバスX、アドレスバス
Yを選択させ、アドレス制御部22から送出されるx、
Xアドレスをそれぞれ入力する。また、各プロセッサP
> 、 P nは、そのLUTにおいて定数乗算を行
ない、ALUで加算、演算を行なうものとして、それぞ
れ、p=ax+by
q=cx十dy
を算出する。ここで、定数a、b、c、dは回転角に対
応する定数である。また、x、yはアドレス制御部22
が出力する画像回転後のアドレスであり、画像メモリV
RAMmのアドレスである。Further, the inputs of the processors p, pn select the address bus X and the address bus Y via the selectors SP□, sp, respectively, and x,
Input each X address. In addition, each processor P
>, Pn performs constant multiplication in the LUT, and performs addition and calculation in the ALU, and calculates p=ax+by q=cx+dy, respectively. Here, constants a, b, c, and d are constants corresponding to rotation angles. In addition, x and y are the address control unit 22
is the address after image rotation output by image memory V
This is the address of RAMm.
また、p、qは原画像のアドレス、すなわち画像メモリ
VRAM1のアドレスである。プロセッサP□の出力、
すなわちPアドレスはデータバスAを通して画像メモリ
VRAM1に入力され、またプロセッサPnの出力、す
なわちqアドレスはデータバスBを通して画像メモリV
RAMIに入力される。そして、これらのp、qアドレ
スにより画像メモリVRAM1が画像データをデータバ
スCに出力し、これを画像メモリVRAMmが格納する
から、本装置によれば異なるアドレス間でデータ転送が
可能となるわけである。尚、アドレス制御部22にて1
画面を走査するよう制御すれば、1枚の回転画像が画像
メモリVRAMmに格納され、処理が終了する。Further, p and q are addresses of the original image, that is, addresses of the image memory VRAM1. Output of processor P□,
That is, the P address is input to the image memory VRAM1 through the data bus A, and the output of the processor Pn, that is, the q address, is input to the image memory VRAM1 through the data bus B.
Input to RAMI. Then, the image memory VRAM1 outputs image data to the data bus C using these p and q addresses, and this is stored in the image memory VRAMm, so this device allows data transfer between different addresses. be. Note that the address control unit 22
When the screen is controlled to be scanned, one rotated image is stored in the image memory VRAMm, and the process ends.
以上、アフィン変換について説明したが、このようなバ
ス構成をとればプロセッサや画像メモリの増設が容易で
あり、また共通バスの本数を増せば複雑な並列処理も可
能になり処理の高速化を図ることができる。We have explained affine transformation above, but with this kind of bus configuration, it is easy to add processors and image memory, and by increasing the number of common buses, complex parallel processing becomes possible and speeds up processing. be able to.
(発明の効果)
以上説明したように、本発明に係る画像処理装置は、各
画像メモリの横アドレス、縦アドレス、データ入力につ
き独立して共通バスから入力選択を行なうセレクタを画
像メモリに対応して設けるとともに、各プロセッサの入
力を独立して共通バスから選択できるセレクタをプロセ
ッサに対応して設けたから、異なるアドレス間でのデー
タ転送が可能となり、また、画像メモリやプロセッサの
増設が容易となり、装置の汎用性が向上して処理の高速
化を図ることができるという効果がある。(Effects of the Invention) As explained above, the image processing device according to the present invention has a selector that independently selects inputs from a common bus for the horizontal address, vertical address, and data input of each image memory, which corresponds to the image memory. In addition to providing a selector for each processor that allows the input of each processor to be selected independently from the common bus, it is possible to transfer data between different addresses, and it is also easy to add image memory and processors. This has the effect of improving the versatility of the device and speeding up processing.
第1図は本発明に係る画像処理装置の一例を示す図、第
2図は本発明に係るプロセッサの一例を示すブロック部
、第3図は本発明に係る画像処理装置に作動例を示す図
、第4図は従来の画像処理装置の一例を示す図である。
20・・・共通バス
21・・・VRAMコントローラ
22・・・アドレス制御部
23・・・コントローラ
VRAM1〜VRAMm−画像メモリ
S□〜5ffl、sp□〜SPn・・・セレクタ特許出
願人 日産自動車株式会社FIG. 1 is a diagram showing an example of an image processing device according to the present invention, FIG. 2 is a block diagram showing an example of a processor according to the present invention, and FIG. 3 is a diagram showing an example of the operation of the image processing device according to the present invention. , FIG. 4 is a diagram showing an example of a conventional image processing apparatus. 20...Common bus 21...VRAM controller 22...Address control unit 23...Controller VRAM1~VRAMm-Image memory S□~5ffl, sp□~SPn...Selector Patent applicant Nissan Motor Co., Ltd.
Claims (1)
を介して入力した一の画像メモリからの画像データに基
づく演算結果を該共通バスを介して他の画像メモリに書
き込むプロセッサとを備える画像処理装置において、各
画像メモリの横アドレス、縦アドレス、およびデータ入
力につきそれぞれ独立して前記共通バスから入力選択を
行なうセレクタを各画像メモリに対応して複数設けると
ともに、プロセッサを複数設けて各プロセッサの入力を
それぞれ独立に共通バスから選択できるセレクタを各プ
ロセッサに対応して複数設けたことを特徴とする画像処
理装置。An image comprising a plurality of image memories connected to a common bus, and a processor that writes a calculation result based on image data from one image memory input via the common bus to another image memory via the common bus. In the processing device, a plurality of selectors are provided corresponding to each image memory to independently select inputs from the common bus for the horizontal address, vertical address, and data input of each image memory, and a plurality of processors are provided so that each processor An image processing device characterized in that a plurality of selectors are provided corresponding to each processor, each of which can independently select an input from a common bus.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28928887A JP2510219B2 (en) | 1987-11-18 | 1987-11-18 | Image processing device |
US07/272,996 US5029018A (en) | 1987-11-18 | 1988-11-17 | Structure of image processing system |
EP88119249A EP0316956B1 (en) | 1987-11-18 | 1988-11-18 | Image processing system |
DE3854039T DE3854039T2 (en) | 1987-11-18 | 1988-11-18 | Machine vision system. |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28928887A JP2510219B2 (en) | 1987-11-18 | 1987-11-18 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH01131969A true JPH01131969A (en) | 1989-05-24 |
JP2510219B2 JP2510219B2 (en) | 1996-06-26 |
Family
ID=17741237
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP28928887A Expired - Lifetime JP2510219B2 (en) | 1987-11-18 | 1987-11-18 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2510219B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7278473B2 (en) | 2002-06-25 | 2007-10-09 | Behr Gmbh & Co. | Exhaust gas heat exchanger and method for the production thereof |
-
1987
- 1987-11-18 JP JP28928887A patent/JP2510219B2/en not_active Expired - Lifetime
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7278473B2 (en) | 2002-06-25 | 2007-10-09 | Behr Gmbh & Co. | Exhaust gas heat exchanger and method for the production thereof |
Also Published As
Publication number | Publication date |
---|---|
JP2510219B2 (en) | 1996-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0334524A2 (en) | Crossbar converter | |
EP0316956B1 (en) | Image processing system | |
JPH01131969A (en) | Image processing device | |
JPH0444694A (en) | Dual port memory device | |
JPS62137669A (en) | Picture processor | |
KR970008189B1 (en) | Memory space control method and memory apparatus | |
JP2510220B2 (en) | Image processing device | |
JPS59200373A (en) | Coordinate converting circuit | |
JPH0736772A (en) | Device and method for fast bit map access control | |
EP0450893B1 (en) | Data processing system | |
JPH01255978A (en) | Successive type local parallel processor | |
JP2852050B2 (en) | Image processing device | |
JPH0863595A (en) | Method and device for rotation processing of image | |
JPH0547867B2 (en) | ||
JPS60218170A (en) | Local window operation control system | |
JPS61264482A (en) | Picture converting system | |
JPS63198141A (en) | Memory bank control system | |
JPH04312187A (en) | Processor for high dimension graphics | |
JPH0290274A (en) | Raster operation device | |
JPH06231035A (en) | Memory access device | |
JPH0243687A (en) | Picture processor | |
JPH04278652A (en) | Graphic drawing device and its memory access system | |
JPH0298787A (en) | Image processor | |
JPS6362079A (en) | Graphic display | |
Ellis | Distributed computation of graphics primitives on a transputer network |