JPS619763A - Picture processing system - Google Patents

Picture processing system

Info

Publication number
JPS619763A
JPS619763A JP59130040A JP13004084A JPS619763A JP S619763 A JPS619763 A JP S619763A JP 59130040 A JP59130040 A JP 59130040A JP 13004084 A JP13004084 A JP 13004084A JP S619763 A JPS619763 A JP S619763A
Authority
JP
Japan
Prior art keywords
coordinates
processor
unit processor
data
unit
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
Application number
JP59130040A
Other languages
Japanese (ja)
Other versions
JPH0157830B2 (en
Inventor
Tadashi Iwase
岩瀬 正
Takashi Suga
菅 隆志
Hiroyuki Miyata
宮田 裕行
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.)
National Institute of Advanced Industrial Science and Technology AIST
Original Assignee
Agency of Industrial Science and Technology
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 Agency of Industrial Science and Technology filed Critical Agency of Industrial Science and Technology
Priority to JP59130040A priority Critical patent/JPS619763A/en
Publication of JPS619763A publication Critical patent/JPS619763A/en
Publication of JPH0157830B2 publication Critical patent/JPH0157830B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration by the use of local operators

Abstract

PURPOSE:To attain the high-speed affine conversion by transferring the picture element values of a processor array to the unit processors corresponding to the original coordinates in parallel to each other every grid point. CONSTITUTION:There are (NXN) units of unmit processors 1 provided corresponding to the grid points of a digital picture. Each processor 1 applies the adverse affine conversion to the original coordinates of the grid point corresponding to said processor 1. Thus the desired coordinates can be obtained. Then the original coordinates is transferred to the unit processor corresponsding to said deisred coordinates. Receiving the original coordinates, the relevant processor 1 transfers the picture element value to another processor 1 corresponding to the original coordinates in parallel and every grid point. Therefore the number of processors 1 can be reduce down to (2XN) units within a route where data reach the processor 1 corresponding to the original coordinates from the processor 1 corresponding to the desired coordinates.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、ディジタル画像処理を行う画像処理方式に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an image processing method for performing digital image processing.

〔従来技術〕[Prior art]

従来、この種の画像処理方式において、テイジタル画像
に対してアフィン変換を施す処理では、アフィン変換を
A、ディジタル画像の格子点の座標値をP、座標値qに
対応する変換前及び変換後の画素値をそれぞれd (q
)及びd’(q)とすると、d“(q)←a(r(4P
))  ・・・・・・(1)と記述することができる、
ただし、矢印は、矢印の左辺に矢印の右辺を代入するこ
とを示し、A−1はAの逆変換を示し、f (q)はq
に対して四捨五入や切り捨てなどのディジタル化操作を
施した結果を示す。また、実際の画像処理においては、
処理の対象となる画像の座標値の上限及び下限が存在す
る。X及びy座標の上限及び下限をそれぞれXmas 
、 Xm1n 、 Ymas 、 )’minとし・座
標値qのX及びy座標をそれぞれQX I Qyとする
と、上記d(Q)は、下記C2)式の条件を満足する必
要があるー。
Conventionally, in this type of image processing method, in the process of applying affine transformation to a digital image, the affine transformation is A, the coordinate value of the grid point of the digital image is P, and the coordinate value q is calculated before and after the transformation. Each pixel value is d (q
) and d'(q), then d"(q)←a(r(4P
)) ......(1) can be written as,
However, the arrow indicates that the right side of the arrow is substituted for the left side of the arrow, A-1 indicates the inverse transformation of A, and f (q) is q
Shows the results of digitization operations such as rounding and truncation. In addition, in actual image processing,
There are upper and lower limits for the coordinate values of the image to be processed. The upper and lower limits of the X and y coordinates are respectively Xmas
, Xm1n, Ymas, )'min and the X and y coordinates of the coordinate value q are respectively QX I Qy, then the above d(Q) needs to satisfy the condition of the following formula C2).

したがって、上記(2)式の条件が成立しない場合は定
義されないので、値が定義されないことを示す特殊な値
(例えばO)でおると定義することができる。
Therefore, if the condition of the above equation (2) is not satisfied, it is not defined, so it can be defined as a special value (for example, O) indicating that the value is not defined.

さて、従来の画像処理方式においては、上記(1)式に
示す処理を画像の全格子点く対して遂次的に行っていた
。第1図は従来の画像処理方式の一例を示すフローチャ
ート図でちる。第1図においては、説明を簡単にするた
めに、Xm1n =ymin = 0゜XmaX ””
 YmaX ”” N  1 + X + 7のきざみ
は1としている。図に示す様に、81及びN2では格子
点を表わす変数であるX及びyに初期値Oを代入してい
る。N3では、X及びyにアフィン変換を定める行列人
の逆行列ATh乗することにより、X及びyで指定され
る格子点が保持するデータd (x。
Now, in the conventional image processing method, the process shown in the above equation (1) is sequentially performed on all grid points of the image. FIG. 1 is a flowchart showing an example of a conventional image processing method. In Figure 1, to simplify the explanation, Xm1n = ymin = 0°XmaX ""
The increments of YmaX "" N 1 + X + 7 are set to 1. As shown in the figure, in 81 and N2, the initial value O is substituted for variables X and y representing lattice points. In N3, data d (x.

y)を格納すべき格子点の座標であるxl及びylを求
めている。N4及びN5ではxl及びylが座標値の上
限及び下限である0とN−1の間にあるか否かを判定し
ている。判定の結果が真であれば、N6においてd (
x r y )をd(xi、yl)に代入し、偽りであ
れば、S7において未定義値を示す値である0をd(x
i、yl)に代入する。N8では、次の格子点に対する
処理を行うために、yを1だけ増している。N9では、
yが上限N−1を超えたか否かを判定し、超えていなけ
ればN3にもどる。超えていれば、S10においてXを
1だけ増し、SIIにおいてXが上限N−1を超えたか
否かを判定する。Xが上限N−1を超えていなければN
2にもどり、超えていれば処理を終了する。以上の説明
から明らかな様に、N3,84゜N8及びN9の各ステ
ップはN2回だけ実行される。
xl and yl, which are the coordinates of the grid point where y) is to be stored, are calculated. At N4 and N5, it is determined whether xl and yl are between 0 and N-1, which are the upper and lower limits of the coordinate values. If the result of the judgment is true, d (
x r y ) to d(xi, yl), and if it is false, d(
i, yl). At N8, y is increased by 1 in order to process the next grid point. In N9,
It is determined whether y exceeds the upper limit N-1, and if it does not exceed the upper limit, the process returns to N3. If it exceeds the upper limit, X is incremented by 1 in S10, and it is determined in SII whether or not X exceeds the upper limit N-1. N if X does not exceed the upper limit N-1
2, and if it exceeds, the process ends. As is clear from the above description, each step of N3, 84°N8, and N9 is executed only N2 times.

また、N4で真又は偽りであると判定される回数をに、
を及びに4f 、 S 5で真又は偽シであると判定さ
れる回数をに、を及びに、fとすると、N5.N6及び
S7が実行される回数に、 、 k、及びに7に対して
以下に示す関係式が成シ立つ。
Also, the number of times it is determined to be true or false in N4 is
Let 4f be the number of times S5 is determined to be true or false, and let f be N5. The following relational expressions hold for the number of times N6 and S7 are executed: , k, and 7.

(ks= k4t = N −k4f したがって、k、 、 k6. k、の総和は、ks 
十に6 + J ” 2N2に4 f≧N2となる。そ
れゆえ、第1図に示す様な画像処理には、格子点の総数
、すなわちN2に比例した処理時間を消費することが明
らかであり、高速なアフィン変換を実行し得ないという
欠点があった。
(ks = k4t = N - k4f Therefore, k, , k6. The sum of k, is ks
Therefore, it is clear that image processing as shown in Fig. 1 consumes processing time proportional to the total number of grid points, that is, N2. , had the disadvantage that it was not possible to perform high-speed affine transformations.

〔発明の概要〕[Summary of the invention]

この発明は、上記の様な従来のものの欠点を改善する目
的でなされたもので、2次元座標平面上の格子点に対応
する単位プロセッサ群から成るプロセッサΦアレイを用
いて、このプロセッサeアレイの各単位プロセッサが、
該当単位プロセッサに対応する格子点の原座標にアフィ
ン変換の逆変換を施して目的座標を得て、この目的座標
に対応する単位プロセッサに原座標を転送し、この原座
標を受け取った目的座標に対応する単位プロセッサが、
その画素値を原座標に対応する単位プロセンサに転送す
る処理を、各格子点ごとに並列に行うことKよシ、高速
なアフィン変換の処理を実現できる様にした画像処理方
式を提供するものである。
This invention was made with the aim of improving the drawbacks of the conventional ones as described above, and uses a processor Φ array consisting of a group of unit processors corresponding to a lattice point on a two-dimensional coordinate plane. Each unit processor is
Apply inverse affine transformation to the original coordinates of the grid point corresponding to the corresponding unit processor to obtain the target coordinates, transfer the original coordinates to the unit processor corresponding to the target coordinates, and transfer the original coordinates to the received target coordinates. The corresponding unit processor is
The present invention provides an image processing method that can realize high-speed affine transformation processing by performing the process of transferring the pixel value to the unit processor corresponding to the original coordinates in parallel for each grid point. be.

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の実施例を図について説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第2図はこの発明の一実施例である画像処理方式を示す
ブロック構成図である。図において、1は単位プロセッ
サであり、ディジタル画像の格子点に対応して、NX8
個配置されている。なお1図中の左下の単位プロセッサ
1がX =Xmin 、 Y ””’)’minに、右
上の単位プロセッサ1がx” Xmax ’I=Yma
xにそれぞれ対応する。2と3は各単位プロセッサ1間
を接続する信号線であり、それぞれX及びy方向に隣接
する単位プロセッサ1を接続している。
FIG. 2 is a block diagram showing an image processing method according to an embodiment of the present invention. In the figure, 1 is a unit processor, and NX8 corresponds to the grid points of the digital image.
are arranged. Note that the unit processor 1 at the bottom left in Figure 1 is set to X = Xmin, Y ``”')'min, and the unit processor 1 at the top right is x''
Each corresponds to x. Signal lines 2 and 3 connect the unit processors 1, and connect adjacent unit processors 1 in the X and y directions, respectively.

また、X及びy座標の上限及び下限に相当する単位プロ
セッサ1も、各信号線2又は3を介して相互に接続され
ている。4紘制御プロセツサであり、単位プロセッサ1
の集合から成るプロセッサ・アレイにデータを入力した
り、プロセッサープレイからデータを受け取ることがで
きるものである。
Furthermore, unit processors 1 corresponding to the upper and lower limits of the X and y coordinates are also interconnected via each signal line 2 or 3. 4 control processors, unit processor 1
It is capable of inputting data to and receiving data from a processor array consisting of a set of processors.

制御プロセッサ4からデータをプロセッサ・アレイに入
力する場合は、信号線5及びセレクタ6を介してx=X
ml。、 y=)’min K相当する単位プロセッサ
1にデータを入力する。セレクタ6は、X=Xmax 
、)’ = Ymaxに相当する単位プロセッサ1から
信号線2を介して送られるデータと、制御グロで選択さ
れる。なお、制御プロセッサ4とセレクタ6の構盛は、
この発明には直接的な関係を持たないので、その詳細な
説明は省略する。
When inputting data from the control processor 4 to the processor array, x=X via the signal line 5 and selector 6.
ml. , y=)'min K data is input to the corresponding unit processor 1. Selector 6 is X=Xmax
, )' = data sent from the unit processor 1 via the signal line 2 corresponding to Ymax and the control group are selected. The configuration of the control processor 4 and selector 6 is as follows:
Since it has no direct relation to this invention, detailed explanation thereof will be omitted.

第3図は、第2図の画像処理方式において、各単位プロ
セッサ間を接続する信号線の構成を示す図で、第2図と
同一符号は同一、又は相当の構成安素でおるので、その
説明は省略する。また、信号の伝播方向は、゛各信号線
に対して図の矢印の方゛ 向で示しておる。図において
、2a及び3aはデータを転送する信号線であり、X及
びy座標の小さく・単位プロセッサ1から大きい単位プ
ロセッサ1にデータが転送される。また、X”Xm1n
 + ’/ =Yminの単位プロセッサ1及びX=X
m3z + Y=YmaXの単位プロセッサ1は、前述
した様に、制御プロセッサ4との間でデータの転送を行
うことができる。この様に各信号@2a及び3aを介し
て転送されるデータには、ディジタル画像の画素値、座
標値、アフィン変換を定める行列、単位プロセッサIK
与える命令及び制御情報等がある。2b及び3bはデー
タの転送を要求する1ビツトの信号線(REQX及びR
EQYという)であり、信号線の値が11」の時、X及
びy座標の小さい単位プロセッサ1から大きい単位プロ
セッサ1ヘデータが転送される。2C及び3Cはデータ
の転送を許可する1ビツトの信号線(RPLYX及びR
PLYYという)であシ、X及びy座標の大きい単位プ
ロセッサ1から小さい単位プロセッサ1ヘデータが転送
される。各RPLYX2c及びRPLYY3cが11」
の時、各REQX2b及がREQY3bをそれぞれ11
」にすることができる。2d及び3dは、その値が11
」の時、処理が完了したことを示す1ビツトの信号#(
CMPLX及びCMPLYという)であり、X及びy座
標の小さい単位プロセッサ1から大きい単位プロセッサ
lヘデータが転送される。制御プロセッサ4は、X=X
max 、 Y=Ymaxに相当する単位プロセッサ1
のCMPLX2dを受け取ることにより、プロセッサ・
プレイ全体の処理の完了を知ることができる。
FIG. 3 is a diagram showing the configuration of signal lines connecting each unit processor in the image processing method shown in FIG. 2. The same reference numerals as in FIG. Explanation will be omitted. The direction of signal propagation is indicated by the arrow in the figure for each signal line. In the figure, 2a and 3a are signal lines for transferring data, and data is transferred from a small unit processor 1 with a small X and y coordinate to a large unit processor 1. Also, X”Xm1n
+'/=Ymin unit processor 1 and X=X
The unit processor 1 of m3z + Y=YmaX can transfer data with the control processor 4, as described above. In this way, the data transferred via each signal @2a and 3a includes the pixel value of the digital image, the coordinate value, the matrix that defines the affine transformation, and the unit processor IK.
There are instructions and control information to be given. 2b and 3b are 1-bit signal lines (REQX and REQX) requesting data transfer.
EQY), and when the value of the signal line is 11'', data is transferred from the unit processor 1 with the smaller X and y coordinates to the unit processor 1 with the larger one. 2C and 3C are 1-bit signal lines (RPLYX and R
Data is transferred from the unit processor 1 with larger X and y coordinates to the smaller unit processor 1 (referred to as PLYY). Each RPLYX2c and RPLYY3c is 11"
When , each REQX2b and REQY3b are 11
”. 2d and 3d have a value of 11
”, a 1-bit signal #(
CMPLX and CMPLY), and data is transferred from the unit processor 1 with the smaller X and y coordinates to the larger unit processor l. The control processor 4 determines that X=X
max, Y=unit processor 1 corresponding to Ymax
By receiving CMPLX2d of
You can know when the entire play process is complete.

第4図(a)及び(b)は、それぞれ第2図の画像処理
方式において、信号線を介して転送されるデータの一般
的な形式を示す図、及び各データの種類とその内容金示
す図である。第41S9(a)において、8はデータの
種類を示す部分(TAGという)であり、9はデータの
値を示す部分(BODYという)である。第4図(b)
に示す様に、TAG8がiMTXJという値の時、BO
DY9はアフィン変換を定める行列の値であり、この場
合のデータはすべての単位プロセッサ1に伝達される。
Figures 4 (a) and (b) are diagrams showing the general format of data transferred via the signal line in the image processing method shown in Figure 2, and the types of each data and their contents. It is a diagram. In the 41st S9(a), 8 is a part (referred to as TAG) indicating the type of data, and 9 is a part (referred to as BODY) indicating the data value. Figure 4(b)
As shown in , when TAG8 has the value iMTXJ, BO
DY9 is a value of a matrix that defines affine transformation, and data in this case is transmitted to all unit processors 1.

TAG8がIPRDJという値の時、BODY9は単位
プロセッサ1の座標(原座標という)にアフィン変換の
逆変換を施した座標(目的座標という)であシ、この場
合のデータは隣接した単位プロセッサ1に伝達される。
When TAG8 has the value IPRDJ, BODY9 is the coordinates (called target coordinates) obtained by applying the inverse affine transformation to the coordinates of unit processor 1 (called original coordinates), and in this case, the data is transferred to the adjacent unit processor 1. communicated.

TAG8がl’FWDJという値の時、BODY9は目
的座標及び原座標であ抄、この場合のデータは目的座標
に相当する単位プロセッサ1に送られる。
When TAG8 has a value of l'FWDJ, BODY9 is extracted with the target coordinates and original coordinates, and the data in this case is sent to the unit processor 1 corresponding to the target coordinates.

TAG8がrBWDJという値の時、BODY9は原座
標及び目的座標の画素値であり、この場合のデータは原
座標に相当する単位プロセッサ1に送られる。TAG8
がIcMPJという値の時、BODY9は目的座標の画
素値であり、この場合のデータは原座標に相当する単位
プロセッサ1に送られる。
When TAG8 has the value rBWDJ, BODY9 is the pixel value of the original coordinates and the target coordinates, and the data in this case is sent to the unit processor 1 corresponding to the original coordinates. TAG8
When is a value of IcMPJ, BODY9 is the pixel value of the target coordinate, and the data in this case is sent to the unit processor 1 corresponding to the original coordinate.

第5図は、第2図の画像処理方式において、1つの単位
プロセッサの内部構成の一例を示すブロック構成図で、
第2図及び第3図と同一符号は同一、又は相当の構成要
素であるので、その説明は省略する。図において、]O
a及び10bは各信号線2a及び3aを介して隣接する
単位プロセッサ1から転送されたデータを格納するレジ
スタ(IBX及びIBYという)である。lla及びl
lbは各信号線2a及び3aを介して隣接する単位プロ
セッサ1へ転送すべきデータを格納するレジスタ(OB
X及びOBYという)である。12は原座標を格納する
レジスタ(Pという)である。13はアフィン変換を施
す前の単位プロセッサ1の座標の画素値を格納するレジ
スタ(DSという)である。14はアフィン変換を施し
た後の単位プロセッサ1の座標の画素値を格納するレジ
スタ(DDという)である。15は各IBX10a及び
IBY10b間のデータの転送を制御するスイッチ回路
(SWという)であり、この5W15は各IBX10a
、IBY10b。
FIG. 5 is a block diagram showing an example of the internal configuration of one unit processor in the image processing method of FIG.
Since the same reference numerals as in FIGS. 2 and 3 represent the same or corresponding components, their explanations will be omitted. In the figure, ]O
a and 10b are registers (referred to as IBX and IBY) that store data transferred from adjacent unit processors 1 via respective signal lines 2a and 3a. lla and l
lb is a register (OB
X and OBY). 12 is a register (referred to as P) that stores the original coordinates. Reference numeral 13 is a register (referred to as DS) that stores pixel values at the coordinates of the unit processor 1 before being subjected to affine transformation. 14 is a register (referred to as DD) that stores the pixel value of the coordinates of the unit processor 1 after being subjected to affine transformation. 15 is a switch circuit (referred to as SW) that controls data transfer between each IBX 10a and IBY 10b;
, IBY10b.

0BX11a、0BY11b、P 12 、DS 13
及びDD14との間で、各信号線16a 、 16b 
、 17a 、 1.7b及び18〜20を介してデー
タを転送する。21は単位プロセッサ1の動作を制御す
る回路(CNTという)であり、このCNT21は各信
号a2b〜2d及び3b〜3dを介した各単位プロセッ
サ1間のデータの転送の制御と、各IBX10a、IB
Y10b、0BX11a、0BY11b、P 12 、
DS 13 。
0BX11a, 0BY11b, P 12, DS 13
and DD14, each signal line 16a, 16b
, 17a, 1.7b and 18-20. 21 is a circuit (referred to as CNT) that controls the operation of the unit processor 1, and this CNT 21 controls the data transfer between each unit processor 1 via each signal a2b to 2d and 3b to 3d, and each IBX 10a, IB
Y10b, 0BX11a, 0BY11b, P 12 ,
DS13.

DD14及びSWI 5の構成要素の制御を行う゛。Controls the components of the DD 14 and SWI 5.

なお、説明を簡単処するため、CNT21と各IBX1
0a、IBY10b、0BXIla、0BY11b  
、Pl 2゜DS13.DD14及び5W15の間の制
御用信号線は省略しである。
In addition, in order to simplify the explanation, CNT21 and each IBX1
0a, IBY10b, 0BXIla, 0BY11b
, Pl 2°DS13. The control signal line between DD14 and 5W15 is omitted.

次に、上記したこの発明の一実施例である画像処理方式
の動作について説明する。この画像処理方式による全体
の処理は、以下に示す方式で行われる。
Next, the operation of the image processing system which is an embodiment of the invention described above will be explained. The overall processing by this image processing method is performed in the following manner.

ステップAに制御プロセッサ4からATG8がl−MT
XJのデータを入力する。このデータは順次にすべての
単位プロセッサIIC伝達される。
In step A, the ATG 8 from the control processor 4
Enter the data for XJ. This data is sequentially transmitted to all unit processors IIC.

ステップA2:各単位プロセッサlはl’ M T X
Jのデータと単位プロセッサ1の原座標から目的座標を
計算する。
Step A2: Each unit processor l is l'M T
The target coordinates are calculated from the data of J and the original coordinates of the unit processor 1.

ステップA3ニステップA2で計算した目的座標がX又
はy座標の上限又は下限を超えた単位プロセッサ1はス
テップA7に行く。
Step A3 If the target coordinates calculated in step A2 exceed the upper or lower limit of the X or y coordinates, the unit processor 1 goes to step A7.

ステップA4ニステップA2で計算した目的座標にTi
O2のIPRDJを付して、隣接する単位プロセッサ1
に転送する。
Step A4 and Ti at the target coordinates calculated in step A2.
Adjacent unit processor 1 with IPRDJ of O2
Transfer to.

ステップA5ニステップA4で転送された目的座標と単
位プロセッサ1自身の目的座標が一致した単位プロセッ
サ1は、ステップA7に行く。
Step A5 The unit processor 1 whose target coordinates transferred in step A4 match the target coordinates of the unit processor 1 itself goes to step A7.

ステップ八6二目的座標と原座標1cTAG8の1FW
DJを付して送出する。
Step 86 2 target coordinates and original coordinates 1cTAG8 1FW
Send it out with a DJ attached.

ステップA 7 : rFWDJのデータを順次に目的
座標に相当する単位プロセッサIK転送する。
Step A7: Sequentially transfer the rFWDJ data to the unit processor IK corresponding to the target coordinates.

ステップA 8 : 1FWDJのデータの目的座標と
単位プロセッサ1自身の座標が一致した単位プロセッサ
1は、「FWD」のデータの原座標と単位プロセッサ1
が保持している画素値に、TiO2(D[BWDJを付
して送出する。
Step A8: When the target coordinates of the 1FWDJ data and the unit processor 1's own coordinates match, the unit processor 1 matches the original coordinates of the "FWD" data and the unit processor 1
The pixel value held by TiO2(D[BWDJ) is attached and sent.

ステップA 9 : IBWDJのデータを順次に原座
標に相当する単位プロセッサIK転送する。
Step A9: Sequentially transfer the data of IBWDJ to the unit processor IK corresponding to the original coordinates.

ステップA 10 : iBwDJのデータの原座標と
単位プロセッサl自身の原座標が一致した単位プロセッ
サ1は、l’BWDJのデータの画素値を取り、 込む
。また、画素値にTiO2のrcMPlを付して隣接す
る単位プロセッサIK転送する。
Step A10: The unit processor 1 whose original coordinates of the data of iBwDJ and the original coordinates of the unit processor l itself match takes the pixel value of the data of l'BWDJ and inputs it. Further, the pixel value is attached with rcMPl of TiO2 and transferred to the adjacent unit processor IK.

ステップA 11 : fcMPJのデータを受け取っ
た単位プロセッサ1が、ステップA5の条件を満たした
単位プロセッサ1であれば、l’cMPJのデータの画
素値を取り込み、隣接する単位プロセッサIK送出する
Step A11: If the unit processor 1 that received the data of fcMPJ is the unit processor 1 that satisfies the condition of step A5, it takes in the pixel value of the data of l'cMPJ and sends it to the adjacent unit processor IK.

ステップA12:各ステップA3ニステップA10又は
ステップAllの条件を満たした単位プロセッサ1は、
隣接する単位プ四セッサ1から転送される各CMPLX
2d及びCMPLY3dの値が共に111であれば、各
CMPLX2d及びCMPLY3dをI’lJ Ic 
して送出する。
Step A12: The unit processor 1 that satisfies the conditions of each step A3 and step A10 or step All,
Each CMPLX transferred from the adjacent unit processor 1
If the values of 2d and CMPLY3d are both 111, set each CMPLX2d and CMPLY3d to I'lJ Ic
and send it.

ステップA 13 : x:x、nax I Y=’/
maxの単位プロセッサ1から送出されるCMPLX2
dが、11」になったことを制御プロセッサ4が検知し
て処理の完了を知る。なお、上述した処理の内、各ステ
ップA4.A5.AIO及びAllは、ディジタル化の
影響によって多くの単位プロセッサ1が同一の目的座標
を有した場合に発生する。これは、目的座標に相当する
単位プロセッサlの周辺でのデータの混雑を避けるため
の処理である。また、上述した処理は各単位プロセッサ
1において並列に実行される。
Step A 13: x:x, nax I Y='/
CMPLX2 sent from unit processor 1 of max
The control processor 4 detects that d has become 11'' and knows that the process is complete. Note that among the above-mentioned processes, each step A4. A5. AIO and All occur when many unit processors 1 have the same target coordinates due to the influence of digitalization. This is a process to avoid data congestion around the unit processor l corresponding to the target coordinates. Furthermore, the above-described processing is executed in parallel in each unit processor 1.

次に、各単位プロセッサ1におけるデータの転送の方式
を説明する。説明を簡単にするためK、データは信号線
2aを経由してX方向から転送されるものとする。また
、データのTaO2はl FWDJでsb、データの目
的座標は単位プロセッサ1の座標と一致しないものとす
るーデータの転送は以下に示す方式で行われる。
Next, a method of data transfer in each unit processor 1 will be explained. To simplify the explanation, it is assumed that K and data are transferred from the X direction via the signal line 2a. Further, it is assumed that TaO2 of the data is lFWDJ and sb, and the target coordinates of the data do not match the coordinates of the unit processor 1.Data transfer is performed in the following manner.

ステップBI:隣接する単位プロセッサlからの信号線
2aにデータがセットされ、REQX2bが11」にセ
ットされる。
Step BI: Data is set on the signal line 2a from the adjacent unit processor 1, and REQX2b is set to 11''.

ステップB2:データ1klBX10aにセットする0 ステップB3:データの目的座標のX成分が単位プロセ
ッサ1の座標のX成分に一致する場合は、ステップB6
に行く。
Step B2: Set data 1klBX10a to 0 Step B3: If the X component of the target coordinates of the data matches the X component of the coordinates of the unit processor 1, step B6
go to.

ステップB4:@接する単位プロセッサ1からのRPL
YX2cがIOJであれば、RPLYXZcを10」に
セットしてステップB4にもどる。
Step B4: @RPL from adjacent unit processor 1
If YX2c is IOJ, set RPLYXZc to 10'' and return to step B4.

ステップB6 : RPLYY3cとREQY3b  
及び0BYI l bについて、各ステップB4及びB
5の処理を行う。
Step B6: RPLYY3c and REQY3b
and 0BYI l b, each step B4 and B
Perform the process in step 5.

次に、上述したステップA1〜A13の処理を、各単位
プロセッサ1がどの様に行うかを説明する。
Next, a description will be given of how each unit processor 1 performs the processing in steps A1 to A13 described above.

各単位プロセッサ1は、以下に示す8つの状態を取るこ
とができる。
Each unit processor 1 can take the following eight states.

ステート1:初期状態にrM T XJのデータが入力
されると、それにした゛がって、目的座標を計算する。
State 1: When rM T XJ data is input in the initial state, the target coordinates are calculated accordingly.

その結果がX又はy座標の上限又は下限を超えた場合は
、DDI4に適当な値(例えばIcJ)をセットし、ス
テート8に行く。そうでなければ、目的座標にTaO2
のIPRDJを付して、X及びX方向の隣接する単位プ
ロセッサ1に出力する。
If the result exceeds the upper or lower limit of the X or y coordinate, set DDI4 to an appropriate value (for example, IcJ) and proceed to state 8. Otherwise, TaO2 at the target coordinates
IPRDJ is attached and output to the adjacent unit processors 1 in the X and X directions.

単位プロセッサ1の座標がX=Xmin又はY = Y
mi。
The coordinates of unit processor 1 are X = Xmin or Y = Y
mi.

であれば、ステート3へ、そうでなければステート2へ
それぞれ行く。
If so, go to state 3, otherwise go to state 2.

ステート2:x又はX方向の隣接する単位プロセッサ1
から「PRDJのデータが入力されると、その目的座標
と単位プロセッサlの目的座標を比較する。X方向から
入力された目的座標と単位プロセッサ1の目的座標が一
致すればステート5へ、X方向から入力された目的座標
と単位プロセッサ1の目的座標が一致すればステート6
へ、そ1うでなければステート3へそれぞれ行く。
State 2: x or adjacent unit processor 1 in the X direction
"When PRDJ data is input, its target coordinates are compared with the target coordinates of unit processor 1. If the target coordinates input from the X direction and the target coordinates of unit processor 1 match, the process advances to state 5, If the target coordinates input from and the target coordinates of unit processor 1 match, state 6 is reached.
If not, go to state 3.

ステート3:単位プロセッサ1の目的座標と原座標にT
aO2の1FWDJを付して出力し、ステート4へ行く
State 3: T to the target coordinates and original coordinates of unit processor 1
Output with 1FWDJ of aO2 attached and go to state 4.

ステー) 4 : 1−BWDJのデータが入力され、
その目的座標と単位プロセッサ1の原座標が一致すれば
、その画素値をDD14にセットし、ステート7に行く
4: 1-BWDJ data is input,
If the target coordinates match the original coordinates of the unit processor 1, the pixel value is set in the DD 14 and the process goes to state 7.

ステー) 5 : X方向の単位プロセッサ1からIC
MP」のデータが入力されると、その画素値をDD14
にセットし、ステート7に行く。
5: From unit processor 1 to IC in X direction
When the data of “MP” is input, the pixel value is transferred to DD14.
and go to state 7.

ステート6:X方向の単位プロセッサ1から□IcMP
Jのデータが入力されると、その画素値をDD14にセ
ットし、ステート7に行く。
State 6: From unit processor 1 in the X direction □IcMP
When the data of J is input, the pixel value is set in DD14 and the process goes to state 7.

ステート7:DD14の値1c T A G 8 Q 
l−CMPJを付して出力し、ステート8に行く。
State 7: Value of DD14 1c T A G 8 Q
It outputs with l-CMPJ attached and goes to state 8.

ステート8 :CMPLX2d及びCMPLY3dから
「1」が入力されると、CMPLX2d及びCMPLY
3dに11」を出力する。
State 8: When “1” is input from CMPLX2d and CMPLY3d, CMPLX2d and CMPLY
Outputs ``11'' to 3d.

なお、上記したいずれの状態においても、rFWDJ又
はl’BWDJのデータが入力され、その目的座標が一
致すれば、1−FWDJのデータの原座標と、DS13
に保持している画素値に、TaO2のI−BWDJを付
して出力する。
In any of the above states, if the data of rFWDJ or l'BWDJ is input and the target coordinates match, the original coordinates of the data of 1-FWDJ and DS13
The I-BWDJ of TaO2 is added to the pixel value held in the pixel value and output.

上述した様に、この発明による画像処理方式にしたがえ
ば、上記ステート3においてl’l”WDJのデータが
出力され、そのデータが目的座標に相当する単位プロセ
ッサlを経由して、再び原座標に相当する単位プロセッ
サ1に到達するまでに経由する単位プロセッサ1の数は
、たかだか2XN個である。また、l−MTXJのデー
タの転送及びCMPLX2d及びCMPLY3dを用い
た処理完了の検出のために経由する単位プロセッサ1の
数はN個である。
As described above, according to the image processing method according to the present invention, the data of l'l''WDJ is output in state 3, and the data is transferred to the original coordinates again via the unit processor l corresponding to the target coordinates. The number of unit processors 1 to be passed through before reaching the unit processor 1 corresponding to 1 is 2XN at most. The number of unit processors 1 is N.

したがって、データの転送の過程において、各信号fi
2a及び3aを同時に複数のデータが共有し様とした場
合に発生する待ち時間を除外すれば、アフィン変換の処
理時間はNK比例したものとなる。そして、この発明に
よる画像処理方式VCおいては、上述の様に多数の単位
プロセッサ1が同一の目的座標を有した場合K、実際に
、l’−FWDJのデータを出力する単位プロセッサ1
の数を減少さ時間に非常に近い処理時間でアフィン変換
を行うことができる。
Therefore, in the process of data transfer, each signal fi
If we exclude the waiting time that occurs when a plurality of data items 2a and 3a are shared at the same time, the processing time for affine transformation becomes proportional to NK. In the image processing method VC according to the present invention, when a large number of unit processors 1 have the same target coordinates as described above, K, the unit processor 1 that actually outputs the data of l'-FWDJ
The number of affine transformations can be performed in processing time very close to the reduced time.

なお、上記実施例においては、特定の装置構成例につい
て説明したが、この発明では、上記した装置構成例には
限定されるものではないことは云うまでもない。
In the above embodiments, a specific device configuration example has been described, but it goes without saying that the present invention is not limited to the above-described device configuration example.

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

この発明は以上説明した様に、画像処理方式)Cおいて
、2次元座標平面上の格子点に対応する単位プロセッサ
群から成るプロセッサ・アレイを用いて、このプロセッ
サ・アレイの各単位プロセッヂが、該当単位プロセッサ
に対応する格子点の原座標にアフィン変換の逆変換を施
して目的座標を得て、この目的座標に対応する単位プロ
セッサに原座標を転送し、この原座標を受け取った目的
座標に対応する単位プロセッサが、その画素値を原座標
に対応する単位プロセッサに転送する処理を、各格子点
ごとに並列に行う様にしたので、この種の従来例のもの
と比べて、画像処理におけるアフィン変換を極めて高速
に行うことができるという優れた効果を奏するものであ
る。
As explained above, the present invention uses a processor array consisting of a group of unit processors corresponding to grid points on a two-dimensional coordinate plane in image processing method (C), and each unit process of this processor array is Apply inverse affine transformation to the original coordinates of the grid point corresponding to the corresponding unit processor to obtain the target coordinates, transfer the original coordinates to the unit processor corresponding to the target coordinates, and transfer the original coordinates to the received target coordinates. Since the corresponding unit processor transfers the pixel value to the unit processor corresponding to the original coordinates for each grid point in parallel, the image processing speed is reduced compared to this type of conventional example. This has the excellent effect of being able to perform affine transformation at extremely high speed.

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

第1図は従来の画像処理方式の一例を示すフローチャー
ト図、第2図はこの発明の一実施例である画像処理方式
を示すブロック構成図、第3図は、第2図の画像処理方
式において、各単位プロセッサ間を接続する信号線の構
成を示す図、第4図(a)及び(b)は、それぞれ第2
図の画像処理方式においにおいて、1つの単位プロセッ
サの内部構成の一例を示すブロック構成図である。 図において、1・・・単位プロセッサ、2.2a〜2d
、3.3a〜3d、5,7.16a、16b、17a。 17b 、 18〜20・・・信号線、4・・・制御プ
ロセッサ、6・・・セレクタ、8・・・データの種類を
示す部分(TAG)、9・・・データの値を示す部す部
分(BODY)、10as10b 、 lla 、 l
lb 、 12〜14−レジスタ、15・・・スイッチ
回路(SW)、21・・・単位プロセッサ1の動作を制
御する回路(CNT’)である。 なお、各図中、同一符号は同一、又は相当部分を示す。 出 願 人 工業技術院長 川田裕部 第1図 第3図 第4図 (a) (b) 手続補正書(自発) 昭和に0年1月23日
FIG. 1 is a flowchart diagram showing an example of a conventional image processing method, FIG. 2 is a block diagram showing an image processing method according to an embodiment of the present invention, and FIG. 3 is a flowchart diagram showing an example of a conventional image processing method. , Figures 4(a) and 4(b) are diagrams showing the configuration of signal lines connecting each unit processor, respectively.
FIG. 2 is a block configuration diagram showing an example of the internal configuration of one unit processor in the image processing method shown in the figure. In the figure, 1... unit processor, 2.2a to 2d
, 3.3a-3d, 5, 7.16a, 16b, 17a. 17b, 18-20...signal line, 4...control processor, 6...selector, 8...portion indicating the type of data (TAG), 9...portion indicating the value of the data (BODY), 10as10b, lla, l
lb, 12 to 14-registers, 15... switch circuits (SW), 21... circuits (CNT') that control the operation of the unit processor 1. In each figure, the same reference numerals indicate the same or equivalent parts. Applicant: Director of the Agency of Industrial Science and Technology Hirobe Kawada Figure 1 Figure 3 Figure 4 (a) (b) Procedural amendment (voluntary) January 23, 1920

Claims (1)

【特許請求の範囲】[Claims] 2次元座標平面上の格子点にディジタル化された画素値
を対応させたディジタル画像に対してアフィン変換を施
す処理において、この処理を、前記2次元座標平面上の
格子点に対応する単位プロセッサ群から成るプロセッサ
・アレイを用いて行う手段と、前記処理において、前記
プロセッサ・アレイの各単位プロセッサが、該当単位プ
ロセッサに対応する格子点の原座標に前記アフィン変換
の逆変換を施して目的座標を得て、この目的座標に対応
する単位プロセッサに前記原座標を転送し、この原座標
を受け取つた前記目的座標に対応する単位プロセッサが
、その画素値を前記原座標に対応する単位プロセッサに
転送を行う手段と、前記原座標及び画素値の転送を、前
記各単位プロセッサを経由して並列に行う手段とから成
ることを特徴とする画像処理方式。
In the process of performing affine transformation on a digital image in which digitized pixel values correspond to grid points on a two-dimensional coordinate plane, this process is performed by a unit processor group corresponding to the grid points on the two-dimensional coordinate plane. and in the processing, each unit processor of the processor array performs an inverse transformation of the affine transformation on the original coordinates of the lattice point corresponding to the unit processor to obtain the target coordinates. and transfers the original coordinates to a unit processor corresponding to the target coordinates, and the unit processor corresponding to the target coordinates that received the original coordinates transfers the pixel value to the unit processor corresponding to the original coordinates. and means for transferring the original coordinates and pixel values in parallel via each of the unit processors.
JP59130040A 1984-06-26 1984-06-26 Picture processing system Granted JPS619763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59130040A JPS619763A (en) 1984-06-26 1984-06-26 Picture processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59130040A JPS619763A (en) 1984-06-26 1984-06-26 Picture processing system

Publications (2)

Publication Number Publication Date
JPS619763A true JPS619763A (en) 1986-01-17
JPH0157830B2 JPH0157830B2 (en) 1989-12-07

Family

ID=15024641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59130040A Granted JPS619763A (en) 1984-06-26 1984-06-26 Picture processing system

Country Status (1)

Country Link
JP (1) JPS619763A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62206678A (en) * 1986-03-07 1987-09-11 Agency Of Ind Science & Technol Parallel data processing system
US6477281B2 (en) 1987-02-18 2002-11-05 Canon Kabushiki Kaisha Image processing system having multiple processors for performing parallel image data processing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62206678A (en) * 1986-03-07 1987-09-11 Agency Of Ind Science & Technol Parallel data processing system
US6477281B2 (en) 1987-02-18 2002-11-05 Canon Kabushiki Kaisha Image processing system having multiple processors for performing parallel image data processing

Also Published As

Publication number Publication date
JPH0157830B2 (en) 1989-12-07

Similar Documents

Publication Publication Date Title
US3723715A (en) Fast modulo threshold operator binary adder for multi-number additions
JPS59172065A (en) Geometric-arithmetic parallel processor
JPH0221025B2 (en)
Jenq et al. Reconfigurable mesh algorithms for the Hough transform
JPH07282237A (en) Semiconductor integrated circuit
EP0518462A2 (en) Filtering operation method for a very high-speed image processing system
JPS6116369A (en) Picture processor
JPS619763A (en) Picture processing system
Scherson et al. A reconfigurable fully parallel associative processor
US6748514B2 (en) Parallel processor and image processing system for simultaneous processing of plural image data items without additional circuit delays and power increases
JPH0683787A (en) Parallel processor
JP2741793B2 (en) Neural network processor
JPH0566043B2 (en)
JP2558701B2 (en) Data transfer device
JPH02217038A (en) Coupling network
JP2862388B2 (en) Filtering method for ultra-high-speed image processing system
JPH0785260A (en) Two-dimensional sensor device
JP2522406B2 (en) Fully integrated network parallel processing method and device
Fukushima et al. Architecture of an image signal processor
JPS6083181A (en) Two-dimensional matching circuit
JPS62206678A (en) Parallel data processing system
JPH0139149B2 (en)
JPH0444305B2 (en)
JPS6314284A (en) Spatial product sum arithmetic unit
Smith et al. Conceptual Hierarchical Image Processor (CHIP), an architecture for real-time machine vision

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term