JP2510219B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2510219B2
JP2510219B2 JP28928887A JP28928887A JP2510219B2 JP 2510219 B2 JP2510219 B2 JP 2510219B2 JP 28928887 A JP28928887 A JP 28928887A JP 28928887 A JP28928887 A JP 28928887A JP 2510219 B2 JP2510219 B2 JP 2510219B2
Authority
JP
Japan
Prior art keywords
image
address
image memory
data
input
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.)
Expired - Lifetime
Application number
JP28928887A
Other languages
Japanese (ja)
Other versions
JPH01131969A (en
Inventor
千典 農宗
清 芥川
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP28928887A priority Critical patent/JP2510219B2/en
Priority to US07/272,996 priority patent/US5029018A/en
Priority to EP88119249A priority patent/EP0316956B1/en
Priority to DE3854039T priority patent/DE3854039T2/en
Publication of JPH01131969A publication Critical patent/JPH01131969A/en
Application granted granted Critical
Publication of JP2510219B2 publication Critical patent/JP2510219B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は画像処理装置に係り、特に処理の高速化を実
現するためのバス構成に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to a bus structure for realizing high speed processing.

〔従来の技術〕[Conventional technology]

画像処理装置としては、従来例えば第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を制御するVR
AMコントローラである。
As an image processing apparatus, there is a conventional one shown in FIG. 4, for example. In the figure, 1, 2 and 3 are image memories, 4 is a common bus consisting of five address buses X and Y and data buses A, B and C, and 5 is a predetermined bus based on the image data input from one image memory. , And write the result to another image memory, 6,7,8,9 are output buffers, 10 is an address control unit that outputs address data to each image memory 1,2,3, and 11 is A controller for controlling the processor 5, the address control unit 10 and the like, 12 is a VR for controlling the image memories VRAM1 to VRAMm
It is an AM controller.

かかる装置において、例えば画像メモリ1,2の画像デ
ータを加算して画像メモリ3に書き込むような処理を行
なう場合、データバスA,Bから入力する画像メモリ1,2の
データをプロセッサ5で加算した後、その結果をデータ
バスCに出力し、該バスCを介してプロセッサ5の出力
データを画像メモリ3に書き込めば良い。尚、このとき
アドレス制御部10によって画像メモリ1,2,3のアドレス
を一画面走査する(例えば特開昭61-153774号参照)。
In such a device, for example, when the image data of the image memories 1 and 2 are added and written in the image memory 3, the processor 5 adds the data of the image memories 1 and 2 input from the data buses A and B. After that, the result may be output to the data bus C, and the output data of the processor 5 may be written in the image memory 3 via the bus C. At this time, the address control unit 10 scans the addresses of the image memories 1, 2, and 3 in one screen (see, for example, JP-A-61-153774).

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

ところで、このような従来の画像処理装置にあって
は、画像メモリのアドレスを固定のバスから入力してお
り、またプロセッサの入力も固定のバスから行なってい
たために、例えばアフィン変換(図形の回転)などのよ
うに画像メモリのアドレスを計算する必要のある処理が
実行できないという問題がある。また画像メモリやプロ
セッサの台数を増やしたり、バスの本数を増やしても接
続上の制約から処理の柔軟性,汎用性に欠け、処理の高
速化が図れないという問題がある。
By the way, in such a conventional image processing apparatus, since the address of the image memory is input from a fixed bus and the input of the processor is also performed from the fixed bus, for example, affine transformation (graphic rotation There is a problem in that it is impossible to execute a process that requires calculating the address of the image memory. Further, even if the number of image memories or processors is increased or the number of buses is increased, there is a problem in that processing flexibility and versatility are lacking due to connection restrictions, and processing cannot be speeded up.

そこで本発明の目的は、少数本の共通バスの下でアド
レス演算を可能とするとともに画像メモリやプロセッサ
の増設をより容易にして処理の汎用性をもたせることに
ある。
Therefore, an object of the present invention is to enable address calculation under a small number of common buses, facilitate addition of an image memory or a processor, and provide versatility of processing.

〔問題点を解決するための手段〕[Means for solving problems]

前記目的を達成して従来技術の問題点を解決するた
め、本発明に係る画像処理装置は、共通バスに接続され
た複数の画像メモリと、該共通バスを介して入力した一
の画像メモリから画像データに基づく演算結果を該共通
バスを介して他の画像メモリに書き込むプロセッサとを
備える画像処理装置において、各画像メモリの横アドレ
ス、縦アドレス、およびデータ入力につきそれぞれ独立
して前記共通バスから入力選択を行なうセレクタを各画
像メモリに対応して複数設けるとともに、プロセッサを
複数設けて各プロセッサの入力をそれぞれ独立に共通バ
スから選択できるセレクタを各プロセッサに対応して複
数設けた。
In order to achieve the above object and solve the problems of the prior art, an image processing apparatus according to the present invention includes a plurality of image memories connected to a common bus and one image memory input via the common bus. In an image processing apparatus including a processor for writing a calculation result based on image data to another image memory via the common bus, a horizontal address, a vertical address, and a data input of each image memory are independently output from the common bus. A plurality of selectors for input selection are provided for each image memory, and a plurality of processors are provided for each processor so that the input of each processor can be independently selected from the common bus.

〔実施例〕〔Example〕

以下、添付図面に基づいて本発明の実施例を説明す
る。第1図は本発明に係る画像処理装置の一例を示すも
のである。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 shows an example of an image processing apparatus according to the present invention.

同図において20は、データバスA,B,Cおよびアドレス
バスX,Yからなる共通バス、VRAM1〜VRAMmは複数(m
個)の画像メモリ、S1〜Smは各画像メモリVRAM1〜VRAMm
に対応して設けたセレクタである。このセレクタS1〜Sm
は、Xアドレスについては、少なくともアドレスバスX
とデータバスA,B,Cのうちから一つを選択し、Yアドレ
スも同様に少なくともアドレスバスYとデータバスA,B,
Cのうらから一つを選択し、データ入力はデータバスA,
B,Cから一本を選択する。また画像出力(out)について
は、データバスA,B,Cのいずれかに出力できるよう出力
バッファB1〜Bmを設ける。またP1〜Pnは画像データに関
する所定演算を実行する複数(n個)のプロセッサで、
各プロセッサP1〜Pnはそれぞれ少なくとも2つの入力を
もち、セレクタSP1〜SPnを介してデータバスA,B,Cおよ
びアドレスバスX,Yのいずれからも入力選択できるよう
になっている。またプロセッサP1〜Pnの出力は、出力バ
ッファBP1〜BPnを介してデータバスA,B,Cのいずれかに
出力可能となっている。尚、このプロセッサP1〜Pnは、
例えば第2図に示すように、定数乗算、sin,cos等の関
数変換を行なうLUT(ルックアップテーブル)を介して
加減、論理演算を行なうALU(演算処理装置)に入力す
るようになっている。LUTへの書き込み(初期設定)は
ホストコンピュータ等により行なう。第1図に戻り、21
はVRAMコントローラで、各画像メモリVRAM1〜VRAMmのリ
ード、ライト制御の他の、セレクタS1〜Smの制御を行な
う。このVRAMコントローラ21による制御は各画像メモリ
VRAM1〜VRAMmごとに独立して行なう。また22,23はそれ
ぞれ従来装置と同様のアドレス制御部、コントローラで
ある。尚、これら全体はホストコンピュータによって制
御されるが、簡単のために図示を省略する。
In the figure, 20 is a common bus composed of data buses A, B and C and address buses X and Y, and VRAM1 to VRAMm are plural (m
Image memory, S 1 to S m are each image memory VRAM 1 to VRAMm
It is a selector provided corresponding to. This selector S 1 ~ S m
Is at least the address bus X for the X address
And one of the data buses A, B, C, and the Y address is also at least the address bus Y and the data buses A, B, C.
Select one from the back of C, data input is data bus A,
Select one from B and C. Regarding image output (out), output buffers B 1 to B m are provided so that they can be output to any of the data buses A, B, and C. In addition, P 1 to P n are a plurality (n) of processors that execute a predetermined calculation regarding image data,
Each of the processors P 1 to P n has at least two inputs, and the input can be selected from any of the data buses A, B and C and the address buses X and Y via the selectors SP 1 to SP n . . The outputs of the processors P 1 to P n can be output to any of the data buses A, B and C via the output buffers BP 1 to BP n . The processors P 1 to P n are
For example, as shown in FIG. 2, input is made to an ALU (arithmetic processing unit) that performs addition / subtraction and logical operation via a LUT (lookup table) that performs constant multiplication, function conversion of sin, cos, and the like. . Writing to the LUT (initial setting) is performed by a host computer or the like. Returning to FIG. 1, 21
Is a VRAM controller that controls the selectors S 1 to S m in addition to the read / write control of the image memories VRAM 1 to VRAMm. This VRAM controller 21 controls each image memory
Perform this independently for each VRAM1 to VRAMm. Further, 22 and 23 are an address control unit and a controller, respectively, which are similar to those of the conventional device. Although the whole of these is controlled by the host computer, illustration is omitted for simplicity.

次に第3図に基づきアフィン変換(画像の回転)を例
にとり、本装置の作動を説明する。
Next, the operation of this apparatus will be described with reference to FIG. 3 by taking affine transformation (image rotation) as an example.

今、原画像が格納されている画像メモリVRAM1のデー
タに基づいてアフィン変換を行ない、変換後のデータを
画像メモリVRAMmに格納するものとする。この場合、画
像メモリVRAM1をリード状態に設定し、セレクタS1を介
してXアドレスにはデータバスAを、Yアドレスにはデ
ータバスBを選択させ、プロセッサP1,Pnがそれぞれデ
ータバスA,Bに出力するp,qアドレスを画像メモリVRAM1
に入力して、該画像データVRAM1が格納している画像デ
ータをデータバスCに出力させる。他方、画像メモリVR
AMmはライト状態に設定し、セレクタSmを介してXアド
レスはアドレスバスXをYアドレスはアドレスバスYを
選択させ、アドレス制御部22より送出されるx,yアドレ
スを入力させる一方、画像データの入力については共通
バスCを選択させて、画像メモリVRAM1のデータを入力
させる。
Now, it is assumed that affine transformation is performed based on the data of 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, to set the image memory VRAM1 to reading, data bus A is the X address via the selector S 1, to select the data bus B to Y address, the processor P 1, P n, each data bus A Image memory VRAM1 for p and q addresses to be output to B
To output the image data stored in the image data VRAM1 to the data bus C. On the other hand, image memory VR
AMm sets the write state, X address via the selector S m is Y address an address bus X to select the address bus Y, x sent from the address control unit 22, while to input y address, the image data For the input of, the common bus C is selected and the data of the image memory VRAM1 is input.

またプロセッサP1,Pnの入力は、それぞれセレクタS
P1,SPnを介してアドレスバスX、アドレスバスYを選択
させ、アドレス制御部22から送出されるx,yアドレスを
それぞれ入力する。また、各プロセッサP1,Pnは、そのL
UTにおいて定数乗算を行ない、ALUで加算,演算を行な
うものとして、それぞれ、 p=ax+by q=cx+dy を算出する。ここで、定数a,b,c,dは回転角に対応する
定数である。また、x,yはアドレス制御部22が出力する
画像回転後のアドレスであり、画像メモリVRAMmのアド
レスである。また、p,qは原画像のアドレス、すなわち
画像メモリVRAM1のアドレスである。プロセッサP1の出
力、すなわちPアドレスはデータバスAを通して画像メ
モリVRAM1に入力され、またプロセッサPnの出力、すな
わちqアドレスはデータバスBを通して画像メモリVRAM
1に入力される。そして、これらのp,qアドレスにより画
像メモリVRAM1が画像データをデータバスCに出力し、
これを画像メモリVRAMmが格納するから、本装置によれ
ば異なるアドレス間でデータ転送が可能となるわけであ
る。尚、アドレス制御部22にて1画面を走査するよう制
御すれば、1枚の回転画像が画像メモリVRAMmに格納さ
れ、処理が終了する。
The inputs of the processors P 1 and P n are selector S
The address bus X and the address bus Y are selected via P 1 and SP n, and the x and y addresses transmitted from the address control unit 22 are input. Further, each processor P 1 , P n has its L
Assuming that UT performs constant multiplication and ALU performs addition and calculation, p = ax + by q = cx + dy is calculated. Here, the constants a, b, c, d are constants corresponding to the rotation angle. Further, x and y are addresses after the image rotation output by the address control unit 22 and are addresses of the image memory VRAMm. Further, p and q are the addresses of the original images, that is, the addresses of the image memory VRAM1. The output of the processor P 1 , that is, the P address is input to the image memory VRAM 1 through the data bus A, and the output of the processor P n , that is, the q address is input through the data bus B to the image memory VRAM.
Entered in 1. Then, the image memory VRAM1 outputs the image data to the data bus C by these p and q addresses,
Since this is stored in the image memory VRAMm, this device enables data transfer between different addresses. If the address control unit 22 controls to scan one screen, one rotation image is stored in the image memory VRAMm, and the process ends.

以上、アフィン変換について説明したが、このような
バス構成をとればプロセッサや画像メモリの増設が容易
であり、また共通バスの本数を増せば複雑な並列処理も
可能になり処理の高速化を図ることができる。
The affine transformation has been described above. However, if such a bus configuration is adopted, it is easy to add processors and image memories, and if the number of common buses is increased, complicated parallel processing is possible and the processing speed is increased. be able to.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明に係る画像処理装置は、
各画像メモリの横アドレス、縦アドレス、データ入力に
つき独立して共通バスから入力選択を行なうセレクタを
画像メモリに対応して設けるとともに、各プロセッサの
入力を独立して共通バスから選択できるセレクタをプロ
セッサに対応して設けたから、異なるアドレス間でのデ
ータ転送が可能となり、また、画像メモリやプロセッサ
の増設が容易となり、装置の汎用性が向上して処理の高
速化を図ることができるという効果がある。
As described above, the image processing device according to the present invention is
A selector for independently selecting input from the common bus for horizontal address, vertical address, and data input of each image memory is provided corresponding to the image memory, and a selector capable of independently selecting the input of each processor from the common bus is provided. Since it is provided corresponding to, it is possible to transfer data between different addresses, facilitate addition of an image memory and a processor, improve the versatility of the device, and speed up processing. is there.

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

第1図は本発明に係る画像処理装置の一例を示す図、第
2図は本発明に係るプロセッサの一例を示すブロック
部、第3図は本発明に係る画像処理装置に作動例を示す
図、第4図は従来の画像処理装置の一例を示す図であ
る。 20……共通バス 21……VRAMコントローラ 22……アドレス制御部 23……コントローラ VRAM1〜VRAMm……画像メモリ S1〜Sm,SP1〜SPn……セレクタ
FIG. 1 is a diagram showing an example of an image processing apparatus according to the present invention, FIG. 2 is a block section showing an example of a processor according to the present invention, and FIG. 3 is a diagram showing an operation example of the image processing apparatus 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 controller 23 …… Controller VRAM1 to VRAMm …… Image memory S 1 to S m , SP 1 to SP n …… Selector

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】共通バスに接続された複数の画像メモリ
と、該共通バスを介して入力した一の画像メモリからの
画像データに基づく演算結果を該共通バスを介して他の
画像メモリに書き込むプロセッサとを備える画像処理装
置において、各画像メモリの横アドレス、縦アドレス、
およびデータ入力につきそれぞれ独立して前記共通バス
から入力選択を行なうセレクタを各画像メモリに対応し
て複数設けるとともに、プロセッサを複数設けて各プロ
セッサの入力をそれぞれ独立に共通バスから選択できる
セレクタを各プロセッサに対応して複数設けたことを特
徴とする画像処理装置。
1. A plurality of image memories connected to a common bus, and an operation result based on image data from one image memory input via the common bus is written to another image memory via the common bus. In an image processing device including a processor, a horizontal address, a vertical address of each image memory,
And a plurality of selectors for independently selecting an input from the common bus for each data input and a plurality of selectors corresponding to each image memory are provided, and a plurality of processors are provided so that the input of each processor can be independently selected from the common bus. An image processing apparatus comprising a plurality of processors corresponding to the processors.
JP28928887A 1987-11-18 1987-11-18 Image processing device Expired - Lifetime JP2510219B2 (en)

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 JPH01131969A (en) 1989-05-24
JP2510219B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10228246A1 (en) 2002-06-25 2004-01-15 Behr Gmbh & Co. Exhaust gas heat exchanger and method for its production

Also Published As

Publication number Publication date
JPH01131969A (en) 1989-05-24

Similar Documents

Publication Publication Date Title
US4104624A (en) Microprocessor controlled CRT display system
JPH0347514B2 (en)
US4689823A (en) Digital image frame processor
US4845663A (en) Image processor with free flow pipeline bus
JP2510219B2 (en) Image processing device
JPH0364891B2 (en)
JPS6334658A (en) Dma controller for image processor
JP2610817B2 (en) Address generator
JPS58136093A (en) Display controller
JPS59200373A (en) Coordinate converting circuit
JPS58116860A (en) Longitudinal and lateral converting circuit for image array of image memory system
JPH0736772A (en) Device and method for fast bit map access control
JP2806376B2 (en) Image processing apparatus and image processing method
JPH0612368A (en) High-definition image processor
JPH0651751A (en) Image display device
JPH0468459A (en) Digital signal processor
JPH07129460A (en) Method and device for processing image
JPH0570833B2 (en)
JPH05159042A (en) Picture processor
JPH0863595A (en) Method and device for rotation processing of image
JPS60260988A (en) Graphic display
JPS63184878A (en) Picture processor
JPS623379A (en) Document picture processor
JPS6368985A (en) Face painting system
JPH0216665A (en) Data transfer equipment