JPS629954B2 - - Google Patents

Info

Publication number
JPS629954B2
JPS629954B2 JP54031778A JP3177879A JPS629954B2 JP S629954 B2 JPS629954 B2 JP S629954B2 JP 54031778 A JP54031778 A JP 54031778A JP 3177879 A JP3177879 A JP 3177879A JP S629954 B2 JPS629954 B2 JP S629954B2
Authority
JP
Japan
Prior art keywords
signal
circuit
memory
address
write
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
Application number
JP54031778A
Other languages
Japanese (ja)
Other versions
JPS55124185A (en
Inventor
Takeshi Arakawa
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP3177879A priority Critical patent/JPS55124185A/en
Publication of JPS55124185A publication Critical patent/JPS55124185A/en
Publication of JPS629954B2 publication Critical patent/JPS629954B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 本発明は、座標変換装置、更に具体的に言え
ば、画像処理用デイスプレイ装置に表示される画
像の幾何学的歪補正、正規化、拡大、縮小、回転
等の各種画像変換に使用するのに適した座標変換
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a coordinate transformation device, and more specifically, to various types of coordinate conversion devices such as geometric distortion correction, normalization, enlargement, reduction, and rotation of images displayed on an image processing display device. The present invention relates to a coordinate transformation device suitable for use in image transformation.

リモートセンシングは、航空機や人工衛星など
のプラツトフオームに搭載されたセンサを用い
て、地表の対象物から反射または放射された電磁
波を収集し、それらのデータを用いて対象物や現
象に関する情報を得る技術であるが、広義には、
遠隔計測、非接触計測、パターン計測なども含め
て考えることもできる。このリモートセンシング
技術では、空中、地上、海洋などに配設された各
種のセンサによつて、光、マイクロ波などの電磁
波、音波、磁気などを媒介として対象物の状況が
センシングされる。このセンシングされたデータ
は、通常、記憶装置に記憶され、種々の目的に従
つて解析処理され、使用に供されるが、これらの
蓄積されたデータは平面上の格子の各点に対応す
るような画的データであることが多いために、解
析処理は一般に画像処理と呼ばれる処理になる。
Remote sensing uses sensors mounted on platforms such as aircraft and satellites to collect electromagnetic waves reflected or emitted from objects on the earth's surface, and uses this data to obtain information about objects and phenomena. It is a technology to acquire, but in a broad sense,
It is also possible to consider remote measurement, non-contact measurement, pattern measurement, etc. In this remote sensing technology, various sensors placed in the air, on the ground, in the ocean, etc. sense the state of an object using light, electromagnetic waves such as microwaves, sound waves, magnetism, etc. as media. This sensed data is usually stored in a storage device, analyzed and used for various purposes, but the accumulated data is Since the data is often graphical, the analysis process is generally called image processing.

しかしながら、上記の如き2次元的画的情報
は、センサ、センサの装置位置、状態などの種々
の条件によつて、しばしば幾何学的歪を発生し、
データをそのままデイスプレイ装置に表示する
と、例えば長方形の画像が台形状に表示されたり
する不都合が生じる。
However, the above two-dimensional pictorial information often generates geometric distortion due to various conditions such as the sensor, its device position, and condition.
If the data is displayed as is on a display device, a problem arises in that, for example, a rectangular image is displayed in a trapezoidal shape.

従来、上記の如き画像の幾何学的歪の補正はソ
フトウエアによつて行われていたので、画像デー
タを画像メモリに入力し、更にその画像データを
コンピユータにより演算処理を行い、それをデイ
スプレイ装置で表示するまでには約5〜10分とい
う大きな時間を必要としていた。従つて、特に、
会話型処理を行う場合に応答性が極めて悪く、オ
ペレータが次の処理を待たされるという欠点があ
つた。
Conventionally, correction of the geometric distortion of an image as described above has been performed using software, so image data is input into an image memory, the image data is then subjected to arithmetic processing by a computer, and then displayed on a display device. It took a long time, approximately 5 to 10 minutes, to display the image. Therefore, especially
When performing interactive processing, the response was extremely poor, and the operator was forced to wait for the next processing.

本発明は従来の上記欠点を解消する為になされ
たものであり、従つて本発明の目的は、テレビデ
イスプレイ装置に対応した速さで幾何学的歪を有
する画像情報を目的とする画像情報に的確に修正
して表示することができる新規な座標変換装置を
提供することにある。
The present invention has been made in order to eliminate the above-mentioned drawbacks of the conventional art, and therefore, it is an object of the present invention to provide image information with geometrical distortion at a speed compatible with television display devices. It is an object of the present invention to provide a new coordinate conversion device that can accurately correct and display.

本発明の他の目的は、画像の補正表示発生のス
ピードアツプにより会話型画像処理の応答性を良
くすることにある。
Another object of the present invention is to improve the responsiveness of interactive image processing by speeding up the generation of image correction display.

本発明の更に他の目的は、与えられた2次元的
座標又はアドレス平面を即座にしかも的確に任意
の他の座標又はアドレス平面に変換する為の新規
な座標変換装置を提供することにある。
Still another object of the present invention is to provide a novel coordinate conversion device for instantly and accurately converting a given two-dimensional coordinate or address plane to any other coordinate or address plane.

本発明の更に他の目的は、比較的簡単な回路構
成により廉価に製作できる新規な座標変換装置を
提供することにある。
Still another object of the present invention is to provide a novel coordinate conversion device that can be manufactured at low cost with a relatively simple circuit configuration.

本発明の上記諸目的は、第1のクロツク信号に
よりシーケンス信号を発生し且つ該シーケンス信
号が所定の値になつたときに第2のクロツク信号
を発生するタイミング発生回路と、前記シーケン
ス信号によりアドレス信号を発生するアドレス制
御回路と、前記シーケンス信号により書込読出タ
イミング信号を発生する書込読出制御回路と、該
書込読出制御回路及び前記アドレス制御回路の制
御のもとにパラメータデータを記憶し且つ後記演
算回路の演算出力により前記パラメータデータの
一部の記憶更新をされる記憶回路と、該記憶回路
から読出されたパラメータデータ及び更新された
データに基づき変換すべきソースエリアの一走査
毎に走査の始点及び走査線上の格子点間の変化率
並びに前記各格子点の座標を前記第2のクロツク
信号により制御される前記シーケンス信号によつ
て演算し且つ演算結果を前記記憶回路に出力する
と同時に前記始点及び各格子点の座標を外部信号
として出力する演算回路とを有する座標変換装
置、によつて達成される。
The above-mentioned objects of the present invention are to provide a timing generation circuit that generates a sequence signal using a first clock signal and generates a second clock signal when the sequence signal reaches a predetermined value; an address control circuit that generates a signal, a write/read control circuit that generates a write/read timing signal based on the sequence signal, and a parameter data that is stored under the control of the write/read control circuit and the address control circuit. and a memory circuit in which part of the parameter data is updated by the arithmetic output of the arithmetic circuit described later, and a source area to be converted based on the parameter data read out from the memory circuit and the updated data for each scan. calculating the starting point of scanning, the rate of change between grid points on the scanning line, and the coordinates of each grid point using the sequence signal controlled by the second clock signal, and simultaneously outputting the calculation results to the storage circuit; This is achieved by a coordinate conversion device having an arithmetic circuit that outputs the coordinates of the starting point and each grid point as an external signal.

本発明による座標変換装置は、幾何学的歪を有
する画像情報を約2秒という極めて短い時間に補
正、変換して表示する能力を備えているので、リ
モートセンシング等のデイジタル画像処理システ
ムに於ける画像解析の会話型処理のスピードアツ
プ向上に顕著な効果を上げるものと期待される。
The coordinate conversion device according to the present invention has the ability to correct, convert, and display image information with geometric distortion in an extremely short time of about 2 seconds, so it can be used in digital image processing systems such as remote sensing. It is expected that this will have a significant effect on speeding up conversational processing of image analysis.

次に、本発明の原理について説明しよう。 Next, the principle of the present invention will be explained.

本発明に於ては、一例として、第1図aに示す
ソースメモリ1上の4点A、B、C、Dで決めら
れる四辺形のソースエリア3のデータを、第1図
bに示すデイステイネーシヨンメモリ2上の4点
P、Q、R、Sで決められる矩形のデステイネー
シヨンエリア4に変換する場合について考察す
る。今ここで、第1図aに示した四辺形の辺
AB、CDをM(Mは正の整数)等分すると共に、
辺AC、BDをN(Nは正の整数)等分し、辺
AB、辺CDの等分した点を結ぶと同時に、辺
AC、辺BDを等分した点を夫々結び、図示される
如く、各辺上の等分点の交点(・印で示し、その
数は(M+1)×(N+1)となる)を、第1図b
に示される矩形PQRSの同様の処理を施して形成
された・印で示す(M+1)×(N+1)個の格子
点に対応させる。
In the present invention, as an example, data in a quadrilateral source area 3 determined by four points A, B, C, and D on the source memory 1 shown in FIG. 1a are transferred to the data shown in FIG. Consider the case of conversion to a rectangular destination area 4 determined by four points P, Q, R, and S on the staycation memory 2. Now, the sides of the quadrilateral shown in Figure 1a
Divide AB and CD into M (M is a positive integer) equal parts, and
Divide sides AC and BD into N equal parts (N is a positive integer), and
At the same time, connect the equally divided points of AB and side CD, and
Connect the points that equally divide AC and side BD, and as shown in the figure, find the intersection of the equally divided points on each side (indicated by a mark, the number of which is (M+1) x (N+1)). Diagram b
This corresponds to (M+1)×(N+1) lattice points indicated by * marks formed by performing similar processing on the rectangle PQRS shown in .

次に、ソースエリア3を構成する四辺形ABCD
を辺AB、CDをM等分する方向に対して、第2図
に示す如く、TV水平走査に類似の横型走査を行
い、辺AC、BDをN等分する方向に対してはTV
垂直走査に類似の縦型走査So〜Sj〜SNを順次シ
ーケンシヤルに行う。一つの横型走査に於ては、
辺ACから辺BDの方向に対してM+1個の変換を
行う。つまり、ソースエリア3の形状に従つて走
査される走査線上に点在する上記(M+1)×(N
+1)個の格子点のアドレス(座標)信号を求
め、そのアドレス信号に従つてソースメモリ1の
該当アドレスに記憶された画像情報を読出し、そ
れをデステイネーシヨンメモリ2の対応するアド
レスに書込めば、情報のアドレス即ち座標変換を
実行できることになる。
Next, the quadrilateral ABCD that constitutes source area 3
As shown in Figure 2, in the direction of dividing sides AB and CD into M equal parts, horizontal scanning similar to TV horizontal scanning is performed, and in the direction of dividing sides AC and BD into N equal parts, TV
Vertical scans So to Sj to S N similar to vertical scans are sequentially performed. In one horizontal scan,
Perform M+1 transformations in the direction from side AC to side BD. In other words, the above (M+1)×(N
Find the address (coordinate) signals of +1) grid points, read out the image information stored at the corresponding address in the source memory 1 according to the address signal, and write it to the corresponding address in the destination memory 2. For example, address or coordinate transformation of information can be performed.

ここで、第3図に示される如く、ソースエリア
3の4点A、B、C、Dの座標をA(Xo,Yo)、
B(X1,Y1)、C(X2,Y2)、D(X3,Y3)と
し、座標(X1,Y1)に起因する変化率を△X1、△
Y1、座標(X2,Y2)に起因する変化率を△X2、△
Y2、座標(X3,Y3)に起因する変化率を△X3、△
Y3とすれば、 △X1=X−X/M、△Y1=Y−Y/M……(1
) △X2=X−X/N、△Y2=Y−Y/N……(2
) △X3=X−X−X+X/M・N、 △Y3=Y−Y−Y+Y/M・N ……(3) となり、従つて、i(i=0、1,2……M)
列、j(j=0,1,2……N)行の座標SXij
(Sはソースエリアの意味のサフイクス)は次式
(4)、(5)にて与えられる。
Here, as shown in FIG. 3, the coordinates of the four points A, B, C, and D in the source area 3 are A(Xo, Yo),
Let B (X 1 , Y 1 ), C (X 2 , Y 2 ), D (X 3 , Y 3 ), and let the rate of change due to the coordinates (X 1 , Y 1 ) be △X 1 , △
Y 1 , the rate of change due to the coordinates (X 2 , Y 2 ) is △X 2 , △
Y 2 , the rate of change due to the coordinates (X 3 , Y 3 ) is △X 3 , △
If Y 3 , △X 1 =X 1 -X 0 /M, △Y 1 =Y 1 -Y 0 /M...(1
) △X 2 =X 2 -X 0 /N, △Y 2 =Y 2 -Y 2 /N...(2
) X 3 = _ _ _ _ _ i=0, 1, 2...M)
Coordinate SXij of column and row j (j=0,1,2...N)
(S is a suffix that means source area) is the following formula
Given in (4) and (5).

SXij=X0+X−X/M・i+X−X/N・j
+ X−X−X+X/M・N・ij =X0+△X2・j+△X1・i+△X3・i・j =(X0+△X2j)+(△X1+△X3・j)i =SXj+△Xj・i ……(4) 但し、SXj=X0+△X2・j △Xj=△X1+△X3・j 同様に、 SYij=SYj+△Yj・i ……(5) 但し、SYj=Y0+△Y2・j △Yj=△Y1+△Y3・j 上式(4)、(5)に於て、SXj、SYjは第j番目(第
j行目)の横型走査Sjの走査開始点の座標のX成
分、Y成分を示し、△Xj、△Yjは横型走査Sjに
於ける格子点間の変化率のX成分、Y成分を夫々
示している。従つて、第0番目の走査Soの始
点、変化率はX0、Y0、△X1、△Y1であるからパ
ラメータデータとして外部から入力されるが、第
1番目の走査S1以降では内部の演算回路でそれら
の始点及び変化率を演算して求める必要がある。
SXij=X 0 +X 1 −X 0 /M・i+X 2 −X 0 /N・j
+ X 3 -X 2 -X 1 + X 0 /M.N.ij = X 1 + _ =SYj+△Yj・i...(5) However, SYj=Y 0 +△Y 2・j △Yj=△Y 1 +△Y 3・j In the above equations (4) and (5), SXj, SYj represents the X component and Y component of the coordinates of the scan start point of the j-th (j-th row) horizontal scan Sj, and △Xj and △Yj represent the X rate of change between grid points in the horizontal scan Sj. component and Y component are shown respectively. Therefore, since the starting point and rate of change of the 0th scan So are X 0 , Y 0 , △X 1 , △Y 1 , they are input from the outside as parameter data, but after the 1st scan S 1 It is necessary to calculate the starting point and rate of change using an internal arithmetic circuit.

第4図はソースエリア3内の座標及びデータの
記憶状態を示す図であり、・印は上記式(4)、(5)に
より演算される座標SXij、SYij、、〇印は実際
にデータが記憶されている座標、は座標SXij、
SYijに最も近い実際にアクセスされる座標を夫々
示している。
Figure 4 is a diagram showing the storage state of coordinates and data in the source area 3, where the * marks are the coordinates SXij, SYij calculated by the above formulas (4) and (5), and the ○ marks are the actual data. The stored coordinates are the coordinates SXij,
The coordinates closest to SYij that are actually accessed are shown respectively.

パラメータデータとしては、最初即ち第0番目
の横型走査Soの始点SX0としてソースエリア3の
A点の座標X0、Y0、それに前述の変化率△X1
△Y1、△X2、△Y2、△X3、△Y3があり、そのう
ち、X0、Y0は正数で例えば16ビツト、△X1〜△
Y3は2の補数で、例えば第5図に示す如く、整
数部16ビツト、小数部24ビツトの固定小数点方式
として考える。
The parameter data includes the coordinates X 0 and Y 0 of point A in the source area 3 as the starting point SX 0 of the first or 0th horizontal scan So, and the above - mentioned rate of change ΔX 1 ,
There are △Y 1 , △X 2 , △Y 2 , △X 3 , △Y 3 , among which X 0 and Y 0 are positive numbers, for example, 16 bits, △X 1 to △
Y3 is a two's complement number, for example, as shown in FIG. 5, assuming a fixed point system with a 16-bit integer part and a 24-bit decimal part.

次に本発明をその最も好ましい一実施例につい
て図面を参照しながら詳細に説明する。
Next, a most preferred embodiment of the present invention will be explained in detail with reference to the drawings.

第6図は本発明に係る座標変換装置の一実施例
を示すブロツク構成図である。図に於て、本発明
の一実施例は、パラメータデータX0、Y0、△X1
〜△Y3と演算出力を選択する選択回路10と、
パラメータクロツク信号100を入力し、シーケ
ンス信号101及びそのシーケンスが8以上にな
つたときにクロツク信号102を発生する例えば
ゲート回路によつて構成されたタイミング発生回
路11と、前記パラメータデータ及び演算結果を
記憶するメモリA、メモリBと、メモリA、Bの
アドレス信号AA、BAを発生する例えばP−
ROM等により構成されるアドレス制御回路12
と、メモリA、Bの書込タイミング信号AW、
BW、選択信号SEL、SXセツト信号103、SY
セツト信号104、Bデータ禁止信号105、演
算結果セツト信号106等を出力する例えばP−
ROM等により構成できる書込読出制御回路13
と、Bデータの出力を禁止するアンド回路14
と、前記式(4)、(5)の演算をする演算回路15と、
演算結果200(SX)をセツトし出力するレジ
スタ16と、演算結果200(SY)をセツトし
出力するレジスタ17と、演算結果200
(SX,SY)をラツチして出力するレジスタ18
とによつて構成される。
FIG. 6 is a block diagram showing an embodiment of the coordinate conversion device according to the present invention. In the figure, one embodiment of the present invention has parameter data X 0 , Y 0 , △X 1
~△ Y3 and a selection circuit 10 that selects the calculation output;
A timing generation circuit 11 configured by, for example, a gate circuit, which inputs a parameter clock signal 100 and generates a sequence signal 101 and a clock signal 102 when the sequence becomes 8 or more, and the parameter data and the calculation result. For example, P-, which generates address signals AA and BA for memories A and B,
Address control circuit 12 composed of ROM etc.
and the write timing signal AW for memories A and B,
BW, selection signal SEL, SX set signal 103, SY
For example, the P-
Write/read control circuit 13 that can be configured with ROM etc.
and an AND circuit 14 that prohibits output of B data.
and an arithmetic circuit 15 that calculates the above equations (4) and (5),
A register 16 that sets and outputs the calculation result 200 (SX), a register 17 that sets and outputs the calculation result 200 (SY), and a register 17 that sets and outputs the calculation result 200 (SY).
Register 18 that latches and outputs (SX, SY)
It is composed of

続いて、第7図、第8図のタイムチヤート、第
9図、第10図の処理フローチヤート、ハードウ
エアの処理シーケンスを参照しながら第6図に示
された回路の動作について説明するに、電子計算
機からのパラメータデータX0、Y0、△X1、△
Y1、△X2、△Y2、△X3、△Y3は選択回路10に
入力し、パラメータクロツク信号100はタイミ
ング発生回路11に入力する。タイミング発生回
路11からのシーケンス信号101はパラメータ
クロツク信号100により0、1、……7、8と
増数する。シーケンス信号101が0〜7の時限
中書込読出制御回路13から選択信号SELが選択
回路10に入力し、選択回路10はそれによつて
前記パラメータデータを選択し、書込データ信号
としてメモリA、メモリBに入力せしめる。シー
ケンス信号101により、アドレス制御回路12
はメモリAに対するアドレス信号AA、メモリB
に対するアドレス信号BAを発生し、又、書込読
出制御回路13はメモリAに対する書込タイミン
グ信号AW、メモリBに対する書込タイミング信
号BWを発生する。ここで、メモリAの0番地、
1番地、……7番地及びその記憶内容をA0,
A1、……A7、同様にメモリBの0番地、1番
地、……7番地及びその記憶内容をB0、B1、…
…B7とすると、前記各パラメータデータは信号
AA、BA、AW、BWにより下記の如くメモリに
セツトされる。
Next, the operation of the circuit shown in FIG. 6 will be explained with reference to the time charts in FIGS. 7 and 8, the processing flow charts in FIGS. 9 and 10, and the hardware processing sequence. Parameter data from electronic computer X 0 , Y 0 , △X 1 , △
Y 1 , ΔX 2 , ΔY 2 , ΔX 3 , and ΔY 3 are input to the selection circuit 10, and the parameter clock signal 100 is input to the timing generation circuit 11. The sequence signal 101 from the timing generation circuit 11 is incremented by 0, 1, . . . 7, 8 according to the parameter clock signal 100. A selection signal SEL is input to the selection circuit 10 from the write/read control circuit 13 during the time period in which the sequence signal 101 is 0 to 7, and the selection circuit 10 selects the parameter data and outputs the memory A, Input it into memory B. The sequence signal 101 causes the address control circuit 12 to
is address signal AA for memory A, memory B
The write/read control circuit 13 also generates a write timing signal AW for memory A and a write timing signal BW for memory B. Here, address 0 of memory A,
Address 1, ... Address 7 and its memory contents as A0,
A1, ...A7, similarly, addresses 0, 1, ...7 of memory B and their stored contents are B0, B1, ...
...B7, each of the above parameter data is a signal
It is set in memory by AA, BA, AW, and BW as shown below.

X0→A0 Y0→A1 △X1→A2 △Y1→A3 △X2→B4 △Y2→B5 △X3→B6 △Y3→B7 以上のことは第7図のタイムチヤート、第9図
b、第10図にも記載されていることである。
X 0 →A0 Y 0 →A1 △X 1 →A2 △Y 1 →A3 △X 2 →B4 △Y 2 →B5 △X 3 →B6 △Y 3 →B7 This is also described in FIG. 9b and FIG. 10.

シーケンス信号101が8以上になると、タイ
ミング発生回路11内でクロツク信号102が発
生され、シーケンス信号101はそのクロツク信
号102により、8,9,10,11,10,1
1、……と9以上になると10,11を繰り返
す。即ち、シーケンス信号101が8の時に、第
9図b、第10図のハードウエアの処理シーケン
スに示されている如く、メモリAから読取された
データA0は、演算回路15によりA0+0=A0即
ちX0+0=X0の演算をなされ、その演算結果2
00は、レジスタ18及び選択回路10を通して
メモリBの0番地に記憶されると同時に、第0番
目の横型走査S0に於ける始点の座標のX成分SX0
としてレジスタ16から出力される。シーケンス
信号が9の時には同様にA1+0=A1即ちY0+0
=Y0の演算がなされ、その演算結果200は、
メモリBの1番地に書込まれると同時に、第0番
目の横型走査S0に於ける始点の座標のY成分SY0
としてレジスタ17から出力され。シーケンス信
号が8,9の時にはアンド回路14にBデータ禁
止信号105(“0”信号)を入力してメモリB
からのデータの出力を禁止する。
When the sequence signal 101 becomes 8 or more, a clock signal 102 is generated in the timing generation circuit 11, and the sequence signal 101 becomes 8, 9, 10, 11, 10, 1 by the clock signal 102.
1, etc. When the number reaches 9 or more, repeat steps 10 and 11. That is, when the sequence signal 101 is 8, as shown in the hardware processing sequences of FIGS. The calculation 0 + 0 = X 0 is performed, and the calculation result 2
00 is stored at address 0 of the memory B through the register 18 and the selection circuit 10, and at the same time, the X component of the coordinates of the starting point in the 0th horizontal scan S 0
It is output from the register 16 as . Similarly, when the sequence signal is 9, A1+0=A1, that is, Y 0 +0
The calculation of =Y 0 is performed, and the calculation result 200 is
At the same time as being written to address 1 of memory B , the Y component of the coordinates of the starting point in the 0th horizontal scan S 0
is output from register 17 as . When the sequence signal is 8 or 9, the B data prohibition signal 105 (“0” signal) is input to the AND circuit 14, and the memory B
Prohibit output of data from.

同様にして、シーケンス信号101が10,1
1の時刻では1走査(この場合には第0番目の横
型走査S0)内に於ける次の格子点の座標の演算が
行われる。即ち、シーケンス信号が10の時には
A2+B0の演算がなされ、その演算結果200
は、レジスタ16を通して第0番目の横型走査S0
の該当格子点の座標のX成分SXi0として出力され
ると共に、メモリBの0番地に書込まれる。シー
ケンス信号が11の時にはA3+B1の演算がなさ
れ、その演算結果200は、レジスタ17を通し
て第0番目の横型走査S0の該当格子点の座標のY
成分SYi0として出力されると同時に、メモリBの
1番地に書込まれる。しかして、シーケンス信号
101が8,9,10,11,10,11、……
と進む度毎に、メモリBの0番地と1番地の記憶
内容がアクセスされて更新され、シーケンス1
0,11の繰返しがM回実行されると、1走査の
終了であるMEND信号110がタイミング発生
回路11に入力される。
Similarly, the sequence signal 101 is 10,1
At time 1, the coordinates of the next grid point within one scan (in this case, the 0th horizontal scan S 0 ) are calculated. That is, when the sequence signal is 10,
The calculation of A2 + B0 is performed, and the calculation result is 200
is the 0th horizontal scan S 0 through register 16
The X component of the coordinates of the corresponding grid point is output as SXi 0 , and is also written to address 0 in memory B. When the sequence signal is 11, the calculation A3+B1 is performed, and the calculation result 200 is passed through the register 17 to the Y coordinate of the corresponding grid point of the 0th horizontal scan S0 .
It is output as component SYi 0 and simultaneously written to address 1 of memory B. Therefore, the sequence signal 101 is 8, 9, 10, 11, 10, 11, . . .
Each time, the contents of memory B at addresses 0 and 1 are accessed and updated, and sequence 1
When the repetition of 0 and 11 is executed M times, a MEND signal 110 indicating the end of one scan is input to the timing generation circuit 11.

MEND信号110がタイミング発生回路11
に入力すると、シーケンス信号101は11の次
に12,13,14,15,8,9と変化する。
シーケンス信号が12,13の時刻では、次の走
査Sjの始点SXj、SYj(この場合には第1番目の
横型走査S1(j=)の始点SX1=X0+△X2
SY1=Y0+△Y2)の演算を求め、14,15の時
刻では次の走査Sjの点間の変化率△Xj、△Yj即
ち第1番目の横型走査S1(j=)内の格子点間
の変化率△Xj=1=△X1+△X3、△Yj=1=△Y1
+△Y3を演算する。即ち、シーケンス信号が1
2では、メモリAの0番地からデータA0(=
X0)が、メモリBの4番地からデータB4(=△
X2)が読出され、それらが演算回路15でA0+
B4の演算がなされ、その演算結果200は、第
1番目の横型走査S1の始点の座標のX成分SX1
して、レジスタ18、選択回路10を介してメモ
リAの0番地にA0として書込まれる。同様にし
て、シーケンス信号が13ではA1+B5、即ちY0
+△Y2の演算がなされ、その演算結果200
は、走査S1の始点の座標のY成分SY1としてメモ
リAの1番地にA1として書込まれる。
MEND signal 110 is timing generation circuit 11
, the sequence signal 101 changes from 11 to 12, 13, 14, 15, 8, and 9.
At times when the sequence signals are 12 and 13, the starting points SXj and SYj of the next scan Sj (in this case, the starting points SX 1 =X 0 +△X 2 ) of the first horizontal scan S 1 (j= 1 ),
SY 1 = Y 0 + △Y 2 ), and at time 14 and 15, the rate of change △Xj, △Yj between the points of the next scan Sj, that is, the first horizontal scan S 1 (j= 1 ) Rate of change between grid points within △X j=1 = △X 1 + △X 3 , △Y j=1 = △Y 1
Calculate +△Y 3 . That is, the sequence signal is 1
2, data A0 (=
X 0 ) is data B4 (=△
X 2 ) are read out, and they are converted into A0+ by the arithmetic circuit 15.
B4 is calculated, and the calculation result 200 is written as A0 to address 0 of memory A via the register 18 and selection circuit 10 as the X component SX 1 of the coordinates of the starting point of the first horizontal scan S 1 . It can be done. Similarly, if the sequence signal is 13, A1+B5, that is, Y 0
+△Y 2 calculation is performed, and the calculation result is 200
is written as A1 in address 1 of memory A as Y component SY1 of the coordinates of the starting point of scan S1 .

更に、シーケンス信号101が14では、A2
+B6、即ち、△X1+△X3の演算が行われ、その
演算結果200は、第1番目の横型走査S1の格子
点間の変化率のX成分△Xj=1として、メモリA
の2番地にA2として書込まれる。また、シーケ
ンス信号が15の時には、A3+B7、即ち△Y1
△Y3の演算が行われ、その演算結果は、第1番
目の横型走査S1の格子点間の変化率のY成分△Y
j=1として、メモリAの3番地にA3として書込ま
れる。
Furthermore, when the sequence signal 101 is 14, A2
+B6, that is, △X 1 +△X 3 , is calculated, and the calculation result 200 is stored in the memory A as the X component △X j = 1 of the rate of change between the grid points of the first horizontal scan S1 .
is written to address 2 as A2. Also, when the sequence signal is 15, A3 + B7, that is, △Y 1 +
The calculation of △Y 3 is performed, and the calculation result is the Y component △Y of the rate of change between the grid points of the first horizontal scan S 1 .
With j=1 , it is written to address 3 of memory A as A3.

シーケンスが更に進み、前記の14,15を過
ぎると、再び8,9,10,11,10,11、
……となり、シーケンス信号101が8,9では
シーケンス12,13で演算された第1番目の横
型走査S1の始点のX成分SX1、Y成分SY1が出力
される。シーケンス信号101が10,11とな
ると、前記した第0番目の横型走査S0の場合と同
様に、A2+B0、A3+B1の演算がなされ、それら
の演算結果はレジスタ16,17を通して第1番
目の横型走査S1の該当格子点のX成分SXi1,Y成
分SYi1として夫々出力されると同時に、夫々メモ
リBの0番地、1番地に夫々B0、B1として書込
まれる。しかして、シーケンス10,11の上記
動作がM回繰返して実行され、再びMEND信号
110の入力によつて第2番目の横型走査S2が実
行される。
As the sequence progresses further and passes 14 and 15, it returns to 8, 9, 10, 11, 10, 11,
..., and when the sequence signal 101 is 8 and 9, the X component SX 1 and Y component SY 1 of the starting point of the first horizontal scan S 1 calculated in sequences 12 and 13 are output. When the sequence signal 101 becomes 10 and 11, the calculations A2+B0 and A3 +B1 are performed as in the case of the 0th horizontal scan S0 described above, and the results of these calculations are passed through the registers 16 and 17 to the first horizontal scan. They are output as X component SXi 1 and Y component SYi 1 of the corresponding grid point of S 1 , respectively, and simultaneously written to addresses 0 and 1 of memory B as B0 and B1, respectively. Thus, the above operations of sequences 10 and 11 are repeated M times, and the second horizontal scan S2 is executed again by inputting the MEND signal 110.

以上の如く、横型走査がS0,S1,S2,……Sj
……と進み、SNまでのN+1回の横型走査で1
回の縦型走査が終了し、つまりソースエリア3の
すべてが走査されたことになる。第7図及び第8
図からも理解されるように、シーケンス信号10
1が9,11の時にはタイミング発生回路11か
らメモリ要求信号120が出力され、この信号1
20はレジスタ16,17から座標信号SXij、
SYijが出力されるのと同期している。従つて、上
記座標信号SXij、SYijによりソースメモリ1上の
ソースエリア3に記憶されたデータを読出し、そ
れらをデステイネーシヨンメモリ2上のエリア4
の対応するアドレスに書込むことができる。換言
すれば、ソースエリア3の座標をデステイネーシ
ヨンエリア4の座標に変換したことになる。
As mentioned above, the horizontal scanning is S 0 , S 1 , S 2 , ... S j
...and 1 in N+1 horizontal scans up to S N
This means that the second vertical scan has been completed, that is, the entire source area 3 has been scanned. Figures 7 and 8
As can be understood from the figure, the sequence signal 10
When 1 is 9 or 11, a memory request signal 120 is output from the timing generation circuit 11, and this signal 1
20 is the coordinate signal SXij from registers 16 and 17;
It is synchronized with the output of SYij. Therefore, the data stored in the source area 3 on the source memory 1 is read out using the coordinate signals SXij and SYij, and the data is transferred to the area 4 on the destination memory 2.
can be written to the corresponding address. In other words, the coordinates of the source area 3 are converted to the coordinates of the destination area 4.

以上説明したように、本発明によれば、第1図
aに示す如き4点A、B、C、Dで決められる四
辺形のソースエリア3を、約2秒程の極めて短い
時間に、第1図bのPQRSで決められる矩形のエ
リア4に変換することが可能となつた。従つて、
幾何学的歪を有する画像情報を、比較的簡単な構
成により、テレビデイスプレイ装置等に使用され
る画像メモリの書込速度に対応した速さで目的と
する画像情報に的確に修正して表示することがで
き、画像補正表示に関する会話型画像処理の応答
性の大幅な改善を期待できるようになつた。
As explained above, according to the present invention, the quadrilateral source area 3 defined by the four points A, B, C, and D as shown in FIG. It is now possible to convert to the rectangular area 4 determined by PQRS in Figure 1b. Therefore,
To accurately correct and display image information having geometric distortion into desired image information at a speed corresponding to the writing speed of an image memory used in a television display device, etc., using a relatively simple configuration. It is now possible to expect a significant improvement in the responsiveness of interactive image processing related to image correction and display.

以上本発明はその良好な一実施例について説明
されたが、それは単なる例示的なものであり制限
的意味を有するものでないことは勿論である。従
つて本発明の精神から逸脱することなしに本発明
は種々の変更を加えて実施することができる。例
えば、以上説明した一実施例は、第1図aに示し
たエリア3を第1図bに示したエリア4に変換す
る場合についてのものであるが、エリア3の形
状、寸法は任意で良く、エリア3に対応する変換
すべきエリア4の形状、寸法も任意に設定するこ
とができ、与えられた座標の補正、拡大、縮小、
回転等の変換はすべて可能とされる。また第6図
に示された実施例ではメモリA、Bの2個のメモ
リが使用されているが、このメモリは1個でもよ
く、ただ1個の場合にはアクセスタイムが長くな
る欠点がある。その他本発明については種々の変
形が考えられるが、上記及びそれらの変形、変更
はすべて前記した本願特許請求の範囲内に包含さ
れるものである。
Although the present invention has been described above with reference to one preferred embodiment thereof, it is needless to say that this is merely an example and does not have a restrictive meaning. Accordingly, the present invention can be practiced with various modifications without departing from the spirit of the invention. For example, the embodiment described above is for converting area 3 shown in FIG. 1a to area 4 shown in FIG. 1b, but the shape and dimensions of area 3 may be arbitrary. , the shape and dimensions of area 4 to be converted corresponding to area 3 can be set arbitrarily, and the given coordinates can be corrected, enlarged, reduced, etc.
All transformations such as rotation are possible. In addition, in the embodiment shown in FIG. 6, two memories A and B are used, but only one memory may be used, but there is a disadvantage that access time becomes longer if only one memory is used. . Although various other modifications may be made to the present invention, all of the above and their modifications and changes are included within the scope of the claims of the present application.

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

第1図a、b、第2図、第3図、第4図、第5
図は本発明の原理を説明する為の図、第6図は本
発明に係る座標変換装置の一実施例を示すブロツ
ク構成図、第7図、第8図は第6図に示した一実
施例の動作タイムチヤート、第9図aは本発明の
処理フローチヤート、第9図bはハードウエア化
された本発明の処理フローチヤート、第10図は
ハードウエアの処理シーケンスを示す図である。 1……ソースメモリ、2……デステイネーシヨ
ンメモリ、3……ソースエリア、4……デステイ
ネーシヨンエリア、10……選択回路、11……
タイミング発生回路、12……アドレス制御回
路、13……書込読出制御回路、14……アンド
回路、15……演算回路、16,17,18……
レジスタ、A……メモリA、B……メモリB、1
00……パラメータクロツク信号、101……シ
ーケンス信号、102……クロツク信号、103
……SXセツト信号、104……SYセツト信号、
105……Bデータ禁止信号、106……演算結
果ラツチ信号、120……メモリ要求信号、20
0……演算結果、SEL……選択信号、AA、BA…
…アドレス信号、AW、BW……書込信号。
Figure 1 a, b, Figure 2, Figure 3, Figure 4, Figure 5
The figure is a diagram for explaining the principle of the present invention, Figure 6 is a block configuration diagram showing one embodiment of the coordinate conversion device according to the present invention, and Figures 7 and 8 are one embodiment of the coordinate conversion device shown in Figure 6. An example operation time chart, FIG. 9a is a processing flowchart of the present invention, FIG. 9b is a processing flowchart of the present invention implemented in hardware, and FIG. 10 is a diagram showing a processing sequence of the hardware. 1... Source memory, 2... Destination memory, 3... Source area, 4... Destination area, 10... Selection circuit, 11...
Timing generation circuit, 12... Address control circuit, 13... Write/read control circuit, 14... AND circuit, 15... Arithmetic circuit, 16, 17, 18...
Register, A...Memory A, B...Memory B, 1
00...Parameter clock signal, 101...Sequence signal, 102...Clock signal, 103
...SX set signal, 104...SY set signal,
105...B data prohibition signal, 106...Arithmetic result latch signal, 120...Memory request signal, 20
0...Calculation result, SEL...Selection signal, AA, BA...
...Address signal, AW, BW...Write signal.

Claims (1)

【特許請求の範囲】[Claims] 1 任意の4点で構成される四辺形の画像を4点
で構成される矩形の画像に変換する装置に於て、
第1のクロツク信号によりシーケンス信号を発生
し且つ該シーケンス信号が所定の値になつたとき
に第2のクロツク信号を発生するタイミング発生
回路と、前記シーケンス信号によりアドレス信号
を発生するアドレス制御回路と、前記シーケンス
信号により書込読出タイミング信号を発生する書
込読出制御回路と、該書込読出制御回路及び前記
アドレス制御回路の制御のもとにパラメータデー
タを記憶し且つ後記演算回路の演算出力により前
記パラメータデータの一部の記憶更新をされる記
憶回路と、該記憶回路から読出されたパラメータ
データ及び更新されたデータに基づき変換すべき
ソースエリアの一走査毎に走査の始点及び走査線
上の各格子点間の変化率並びに前記走査線上の各
格子点の座標を前記第2のクロツク信号により制
御される前記シーケンス信号によつて演算し且つ
演算結果を前記記憶回路に出力すると同時に前記
始点及び各格子点の座標を外部信号として出力す
る演算回路とを有することを特徴とした座標変換
装置。
1. In a device that converts a quadrilateral image made up of arbitrary four points into a rectangular image made up of four points,
a timing generation circuit that generates a sequence signal based on a first clock signal and generates a second clock signal when the sequence signal reaches a predetermined value; and an address control circuit that generates an address signal based on the sequence signal. , a write/read control circuit that generates a write/read timing signal based on the sequence signal; and a write/read control circuit that stores parameter data under the control of the write/read control circuit and the address control circuit; A storage circuit in which a part of the parameter data is updated; and a storage circuit that updates the memory of a part of the parameter data, and stores data at the start point of the scan and each scan line for each scan of the source area to be converted based on the parameter data read from the storage circuit and the updated data. The rate of change between lattice points and the coordinates of each lattice point on the scanning line are calculated by the sequence signal controlled by the second clock signal, and the calculation results are output to the storage circuit, and at the same time the starting point and each coordinate are calculated. A coordinate conversion device comprising: an arithmetic circuit that outputs coordinates of lattice points as an external signal.
JP3177879A 1979-03-20 1979-03-20 Coordinate conversion circuit Granted JPS55124185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3177879A JPS55124185A (en) 1979-03-20 1979-03-20 Coordinate conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3177879A JPS55124185A (en) 1979-03-20 1979-03-20 Coordinate conversion circuit

Publications (2)

Publication Number Publication Date
JPS55124185A JPS55124185A (en) 1980-09-25
JPS629954B2 true JPS629954B2 (en) 1987-03-03

Family

ID=12340504

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3177879A Granted JPS55124185A (en) 1979-03-20 1979-03-20 Coordinate conversion circuit

Country Status (1)

Country Link
JP (1) JPS55124185A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5884358A (en) * 1981-11-13 1983-05-20 Toshiba Corp Picture enlargement processor
JPS59100974A (en) * 1982-12-01 1984-06-11 Nec Corp Picture processor
JPS59133667A (en) * 1983-01-20 1984-08-01 Hitachi Ltd Processing system of picture correction
JPS59195760A (en) * 1983-04-22 1984-11-06 Toshiba Corp Pattern enlarging and contracting device
JPS60254378A (en) * 1984-05-31 1985-12-16 Toshiba Corp Transfer device of information
JPH0338789A (en) * 1989-07-06 1991-02-19 Fuji Electric Co Ltd Pattern matching system

Also Published As

Publication number Publication date
JPS55124185A (en) 1980-09-25

Similar Documents

Publication Publication Date Title
JPH0628485A (en) Texture address generator, texture pattern generator, texture plotting device and texture address generating method
JPS6355643B2 (en)
JPH04276870A (en) Method and apparatus for rotary processing of image
JPH03127282A (en) Radon transforming method of digital image
JPS629954B2 (en)
JPH0555915B2 (en)
JPS6052472B2 (en) Area information processing device
CN101261730A (en) Video digitalized large-scale imaging method
IE41669L (en) Opto-electronic inspection system
JP2610473B2 (en) Radar equipment
JPS6232519B2 (en)
JP2768370B2 (en) Drawing method
JPH045955B2 (en)
JP2967228B2 (en) Image data transfer device
JP2000339441A (en) Coordinate transformation device
JP2572140Y2 (en) Digital oscilloscope
JPS62187884A (en) Rotary image display unit
JPH0434418Y2 (en)
JPH05150717A (en) System for correspondence between image map and mesh data
JPH0120469B2 (en)
JPH0344773A (en) Image interpolating method
JPH0338711Y2 (en)
SU771657A2 (en) Graphic information output arrangement
JPS61138375A (en) Pattern information processing device
JPH0545443A (en) Radar indicator