JPS58159192A - Figure converter - Google Patents

Figure converter

Info

Publication number
JPS58159192A
JPS58159192A JP57042244A JP4224482A JPS58159192A JP S58159192 A JPS58159192 A JP S58159192A JP 57042244 A JP57042244 A JP 57042244A JP 4224482 A JP4224482 A JP 4224482A JP S58159192 A JPS58159192 A JP S58159192A
Authority
JP
Japan
Prior art keywords
input
conversion
vector
coordinate
expansion
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
JP57042244A
Other languages
Japanese (ja)
Other versions
JPH0451870B2 (en
Inventor
Osamu Kato
修 加藤
Hiromichi Iwase
岩瀬 洋道
Shinichi Shimizu
慎一 清水
Masumi Yoshida
吉田 真澄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57042244A priority Critical patent/JPS58159192A/en
Publication of JPS58159192A publication Critical patent/JPS58159192A/en
Publication of JPH0451870B2 publication Critical patent/JPH0451870B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/02Affine transformations

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To reduce the load of input, by making use of the 2-dimensional characteristics of the coordinate spot train given from a 2-dimensional coordinate input device, thus calculating the pattern conversion parameter such as the shift, rotation, expansion/contraction, etc. from said coordinate spot train. CONSTITUTION:Only the initiation and termination points are detected by a vector calculating circuit 9 for the coordinate spot train (xi, yi) which is supplied from a 2-dimensional coordinate input device 4, and vector V=(xn-x1, yn-y1) is calculated. The vector V is solved by a conversion type signal K which is fed separately. This signal K calculates the degree of shift, angle of rotation and expansion/contraction factor through corresponding circulating circuits 10, 11 and 12 respectively in responsing to the shift, rotation and expansion/contraction. A figure is converted by the parameter calculated by a converter 13. The input parameter of figure conversion is inputted just be drawing over the input coordinates by means of a pen to reduce the load of input.

Description

【発明の詳細な説明】 (a)  発明の技術分野 本発明は図形の変換装置に係り、特に二次元座標入力装
置を用いて入力される二次元上の座標点系列からf換柚
類に応じた変換パラメータを計算して図形変換を行う装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention The present invention relates to a figure conversion device, and particularly to a figure conversion device that converts a two-dimensional coordinate point series input using a two-dimensional coordinate input device into f-conversion. The present invention relates to a device that performs graphic conversion by calculating conversion parameters.

(b)  便来技術と194M!!点 従来、図形f換装置では、例えは第111に示すように
キーホードIK配列されたキー2を押下することKよシ
変換装置3に入力され圧情報が#真機cpuによシ、処
理された後、叢侠装置3により図形変換されていた。
(b) Delivery technology and 194M! ! Conventionally, in a graphic conversion device, for example, by pressing the key 2 arranged in the keyboard IK as shown in No. 111, pressure information is input to the conversion device 3 and is processed by the CPU of the machine. After that, it was converted into a graphic by the Asakusa device 3.

例えば、図形を変換して編集し直す場合、対象図形を横
に移動するとか、或いは上にあげて間に迫力Vする等い
ろいろあるが、その変換のf1!類に応じた変換パラメ
ータをキーホード1kl−人力する0例えば[移動1の
場合は X方向およびY方向の42動瀘、[回転jのi
合は同転角、また「拡大10時は傷人率を数値で入力を
行なっていた。
For example, when converting and re-editing a figure, there are various ways to move the target figure horizontally, or raise it upwards to make it look more impressive, but the f1 of the conversion! For example, for [movement 1, 42 motions in the X and Y directions, [i for rotation j].
At 10 o'clock, the injury rate was entered numerically.

しかしながら、この方法では入力すべき)くラメータ(
移動量、回転角、拡大率)を数値に置き換えてテンキー
により入力するとか、或いは移wJ量i+tカーソルキ
ー操作するこのとき、入力すべき数値について、変ms
t類により、移動では移動量ΔX、△Y7回幇では回転
角へ〇、拡大では拡大率ムX、△Yの数値の入力回数及
び桁数等が異るため、キー操作に入力誤りが生じ易いと
いう欠点が七りたQ (c)  促明の目的 本発明の1市は二次元座標入力装置から座標点列を入力
することによシ笈換aI緬に共通な変換パラメータの指
定方法を提供することに凍る。
However, in this method, the parameter (which must be entered)
When replacing the movement amount, rotation angle, magnification rate) with numerical values and inputting them using the numeric keypad, or using the movement wJ amount i + t cursor keys, the numerical values to be input can be changed to
Due to class t, the number of inputs and number of digits for the movement amount ΔX and △Y7 times for movement and rotation angle for 7 times, and the magnification ratio MX and △Y for enlargement are different, so input errors may occur in key operations. (c) Purpose of Promotion One of the purposes of the present invention is to develop a method for specifying transformation parameters common to Myanmar by inputting a sequence of coordinate points from a two-dimensional coordinate input device. Freeze to offer.

(d)  発明の病成 そしてこの目的は本究明によハば、二次元平面上の図ル
に対し、変換を行う装置にあって、二次元座標点夕・j
を入力するだめの座標人力装置と入力される座標点列よ
りあらかじめ指定されたf換種類に応じて変換ハラメー
タを8t′X#するパラメータ計画装置を有することを
特徴とする図形変換装置Kを掟供することによって達成
される。
(d) The origin of the invention and its purpose, according to the present research, is to provide a device for converting a figure on a two-dimensional plane, and converting it into a two-dimensional coordinate point
A figure conversion device K is characterized in that it has a coordinate manual device for inputting , and a parameter planning device that calculates a conversion parameter 8t' This is achieved by providing

(e)  発明の実施例 以下本発明を図面により回軸に直切する。(e) Examples of the invention The present invention will be explained below with reference to the drawings.

本究明は二次元座標入力装置、例えばデジタイザ、タブ
レット等で入力される座標点系列のもつ二次元的性買を
利用シフ、座体点系列よ#)移動、回転、伸縮等の図形
変換パラメータ計算装置するようにしたものである。
This research uses the two-dimensional nature of the coordinate point series input with a two-dimensional coordinate input device, such as a digitizer or tablet, to calculate figure transformation parameters such as movement, rotation, and expansion/contraction based on the body point series. It was designed to be used as a device.

第2図は二次元の膣律入力装置t4を示し、装置4には
ベン5がついていて、該ベン5でa面(例えばタブレッ
ト)6をなぞると、その座標点が連続的Kht1機cp
uに入力される0 その入力された座標点系列を処理し
て図形等を認識している。
FIG. 2 shows a two-dimensional vaginal rhythm input device t4, the device 4 is equipped with a ben 5, and when the ben 5 is traced on the A side (for example, a tablet) 6, the coordinate points are continuously
0 input to u The input coordinate point series is processed to recognize figures, etc.

例えば、タブレット6上で画いた図形を移動させ、或い
は縮小のII&集操作を行って図形変換する場合、都に
一様な操作で行えるようにし六のが本発明である。
For example, when moving a figure drawn on the tablet 6 or converting the figure by performing a reduction operation, the present invention allows the operation to be performed in a uniform manner.

第3図(イ)はタブレット6上の変換対象図形をDX、
DY移動するための座標点列の1例を示しy、)、・・
・・・・(X!1. ym))で表現する0以下、移動
、回転、伸縮の場合について変換パラメータの計算手順
を示す。
Figure 3 (a) shows the figure to be converted on the tablet 6 by DX,
An example of a coordinate point sequence for DY movement is shown as y,),...
. . . (X! 1. ym)) The following describes the calculation procedure for conversion parameters in the case of 0 or less, movement, rotation, expansion and contraction.

(1)  移動、図形をDXXDY平行移動する。−D
 X = x n −x I DY=yn−yl (2)回転、図形をO回転させる。
(1) Move, move the figure in parallel by DXXDY. -D
X = x n -x I DY = yn - yl (2) Rotation: Rotate the figure by O.

(3)伸縮、第3図(ロ)は原図形Aと伸縮図形Bの関
係を示し、伸縮について横力向に伸はし、縦方向に細め
ている。ベクトルaでみると、X方向は++  Y方向
は−の変換になる。そのときの原図形AのIIIW、高
さHとし、この図Jt6Aをγ工+”y伸縮する。γ工
、γアが1より小の時を縮小と定義する0 γ8=1+−虱二丈エヱ:2(つ− γ  −1+ 2j(yn−y、〕 Y       H 第4図は本発明の図形変換装置の1実紬色を不すプ”ロ
ック回路図でおる。
(3) Stretching and contraction. Figure 3 (b) shows the relationship between original figure A and stretchable figure B, in which they are stretched in the transverse force direction and narrowed in the vertical direction. Looking at vector a, the transformation is ++ in the X direction and - in the Y direction. At that time, assume IIIW and height H of the original figure A, and expand or contract this figure Jt6A by γ-factor + "y. When γ-factor and γ-a are smaller than 1, it is defined as reduction. :2(t-γ-1+2j(yn-y,) YH FIG. 4 is a block circuit diagram of the figure converting device of the present invention, which does not show the real pongee color.

図において、4は二次元座標入力装置、8はパラメータ
計算装置で、ベクトル■t II Ic!l路9と移動
量針脚回路10と回転角計駒回路11と伸動率計算回路
12よりなっている。13は変換装置である。
In the figure, 4 is a two-dimensional coordinate input device, 8 is a parameter calculation device, and vector ■t II Ic! It consists of a l path 9, a movement amount needle foot circuit 10, a rotation angle meter circuit 11, and an extension rate calculation circuit 12. 13 is a conversion device.

二次元座標入力装置4より入力される座標点列((x+
、 yl) )はベクトル計算回路9によす始点、終点
のみが一検出され、ベクトルV □−(x n  x 
+ Hy n−yl)がi′を初される。
Coordinate point sequence input from the two-dimensional coordinate input device 4 ((x+
, yl) ), only the starting point and ending point are detected by the vector calculation circuit 9, and the vector V □−(x n x
+ Hy n-yl) is initialized by i'.

別途入力される変換へ銅信号KによりベクトルVが解決
され、変換種類信号Kが移動、1転、伸縮に対応して、
移動量計算回路IO1回転角計洒回路11.伸縮率計算
回路12でそれぞれ移動蓋、回転角、伸縮率が#F算さ
れる。変換装置)443で計算されたパラメータ(△X
△Y、△O2γwry)により凶1杉変換が実行される
The vector V is resolved by the copper signal K to the conversion input separately, and the conversion type signal K corresponds to movement, one turn, expansion and contraction,
Movement amount calculation circuit IO1 Rotation angle measurement circuit 11. The expansion/contraction rate calculating circuit 12 calculates the moving lid, rotation angle, and expansion/contraction rate by #F. Parameters (△X
△Y, △O2γwry), the Ikuichisugi transformation is executed.

例えば、K=1を移動、K二2を回転、K=3を伸縮と
したスイッチかを3って、対象図形の幅W16、・、さ
Hが予め求められいt!ば、K=1.2.3を指定した
上で、入力座標標上4の入力浮標上にベクトルa(躯3
区参照)をベン5で引く入力情報で図片震換かでき簡単
でおる。
For example, by setting the switch K=1 to move, K22 to rotate, and K=3 to extend/contract, the width W16,..., H of the target figure can be determined in advance. For example, after specifying K=1.2.3, vector a (body 3
It is easy to use the input information drawn by Ben 5 (see section) to change the diagram.

本発明では、図形変換の入力パラメータは単に入力座標
装置の入力座標標上にベクトル季ペンで引くだけでよく
、従来のように移Ittlj 量、回転角、伸縮率等の
数イ直をキーボードより入力する必要がないので、キー
操作の誤り及び緊雑さが防け、入力の負担が軽減される
In the present invention, the input parameters for figure transformation can be simply drawn with a vector pen on the input coordinates of the input coordinate device, and numbers such as the amount of translation, rotation angle, expansion/contraction rate, etc. can be entered directly from the keyboard as in the past. Since no input is required, errors and cumbersome key operations can be prevented, and the input burden can be reduced.

(f)  発明の効果 以上、詳に++ II(説明したように、本菟門の図形
変換装置は二次元座標入力装置から座標点列を入力する
ことにより、変換種類に共通な変換パラメータの指定方
法、即ち入力座標上で単にベクトルを入力すれ、ばよい
ので、従来のキーボードの人力と異なりパラメータ入力
の負担は軽減される効果は大きい。
(f) Effects of the invention, more in detail ++ II (As explained above, the figure conversion device of this book allows designation of conversion parameters common to conversion types by inputting a sequence of coordinate points from a two-dimensional coordinate input device. In other words, simply inputting a vector on the input coordinates is sufficient, which has a significant effect of reducing the burden of parameter input, unlike the manual input of conventional keyboards.

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

第1図は従来の図形変換装置を飲明するためのブロック
図、第2図は本発明に用いる二次元の座像入力装置を示
すブロック図、第3図(イ)(ロ)は本発明の変換パラ
メータの計算手順を説明するための平面図、第4図は本
発明の図形変換装置の1実施例を示すブロック図を示す
。 図において、4は二次元座標入力装置、5はペン、6は
盤面(タブレット)8はパラメータ計算装置、9はベク
トル計算回路、10は移動′Iik計算回路、11は回
転角計算回路、12は押軸率計算回路、13は変換回路
である。 代理人、弁理士  松 岡 宏l5vT」第1図
Fig. 1 is a block diagram for explaining a conventional figure conversion device, Fig. 2 is a block diagram showing a two-dimensional seated image input device used in the present invention, and Figs. FIG. 4 is a plan view for explaining the conversion parameter calculation procedure, and FIG. 4 is a block diagram showing an embodiment of the graphic conversion apparatus of the present invention. In the figure, 4 is a two-dimensional coordinate input device, 5 is a pen, 6 is a board (tablet), 8 is a parameter calculation device, 9 is a vector calculation circuit, 10 is a movement 'Iik calculation circuit, 11 is a rotation angle calculation circuit, and 12 is a rotation angle calculation circuit. 13 is a conversion circuit. Agent, Patent Attorney Hiroshi Matsuoka 15vT” Figure 1

Claims (1)

【特許請求の範囲】[Claims] 二次元平面上の図形に対し、幾何♀的f換を打う装置に
おいて、二次元座標点列を入力するためのh樟入力装置
と入力される座標点列より色ら力じめ4i+定された変
換srAに応じてtaパラメータを1與するパラメータ
針算装厘を有することを特徴とする図形変換装置。
In a device that performs a geometric f transformation on a figure on a two-dimensional plane, the input device for inputting a two-dimensional coordinate point sequence and the input coordinate point sequence are 1. A graphic conversion device comprising a parameter calculation device that calculates one ta parameter according to the converted conversion srA.
JP57042244A 1982-03-17 1982-03-17 Figure converter Granted JPS58159192A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57042244A JPS58159192A (en) 1982-03-17 1982-03-17 Figure converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57042244A JPS58159192A (en) 1982-03-17 1982-03-17 Figure converter

Publications (2)

Publication Number Publication Date
JPS58159192A true JPS58159192A (en) 1983-09-21
JPH0451870B2 JPH0451870B2 (en) 1992-08-20

Family

ID=12630609

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57042244A Granted JPS58159192A (en) 1982-03-17 1982-03-17 Figure converter

Country Status (1)

Country Link
JP (1) JPS58159192A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6075980A (en) * 1983-10-03 1985-04-30 Hitachi Ltd On-line editing device for handwritten input pattern
JPS6244886A (en) * 1985-08-22 1987-02-26 Dainippon Printing Co Ltd Arranging method for graphic

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53136439A (en) * 1977-05-04 1978-11-29 Hitachi Ltd Handwritten information processing system
JPS5612690A (en) * 1979-07-13 1981-02-07 Hitachi Ltd Figure display

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53136439A (en) * 1977-05-04 1978-11-29 Hitachi Ltd Handwritten information processing system
JPS5612690A (en) * 1979-07-13 1981-02-07 Hitachi Ltd Figure display

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6075980A (en) * 1983-10-03 1985-04-30 Hitachi Ltd On-line editing device for handwritten input pattern
JPH0584540B2 (en) * 1983-10-03 1993-12-02 Hitachi Ltd
JPS6244886A (en) * 1985-08-22 1987-02-26 Dainippon Printing Co Ltd Arranging method for graphic

Also Published As

Publication number Publication date
JPH0451870B2 (en) 1992-08-20

Similar Documents

Publication Publication Date Title
CN108227947B (en) Square keyboard and input method based on same
JPS58159192A (en) Figure converter
JPS58146958A (en) Device for forming pattern
CN110232847A (en) Copybook information generating method, device, storage medium and electronic equipment
JPS63311519A (en) Coordinate input method
CN109410120B (en) Extremely fast seamless image synthesis method
JPS59139089A (en) Character display unit
JPS62126468A (en) Dress design forming device
JP2746981B2 (en) Figure generation method
JP2746980B2 (en) Figure generation method
JPH08305476A (en) Input device
JPS63233465A (en) Input display system for numerical format code
JPH0436794A (en) Cursor control device
JPS60130792A (en) Automatic rule drawing system
JPS62192868A (en) Drawing preparation device
JPS5933578A (en) Display system of manually written diagram information
CN201886467U (en) Electronic planimeter
JPS62293413A (en) Data input device
JPH04316121A (en) Interactive information processor
JPS638974A (en) Cad drawing input device
JPS62102317A (en) Process switching device
JPH08137621A (en) Graphic input device and cursor display method
JPH04367925A (en) Mouse device
JPS6454565A (en) Image editing device
JPS63288316A (en) Character input device