JPS59127168A - Graphic arithmetic device - Google Patents

Graphic arithmetic device

Info

Publication number
JPS59127168A
JPS59127168A JP186283A JP186283A JPS59127168A JP S59127168 A JPS59127168 A JP S59127168A JP 186283 A JP186283 A JP 186283A JP 186283 A JP186283 A JP 186283A JP S59127168 A JPS59127168 A JP S59127168A
Authority
JP
Japan
Prior art keywords
vector
distance
vectors
extracted
coordinate
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.)
Pending
Application number
JP186283A
Other languages
Japanese (ja)
Inventor
Takashi Yamaguchi
山口 高
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
NEC Corp
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP186283A priority Critical patent/JPS59127168A/en
Publication of JPS59127168A publication Critical patent/JPS59127168A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes

Abstract

PURPOSE:To decentralized easily graphic processing by providing a calculating means which calculates the distance between a pair of vectors from each coordinate value to the coordinate axis of one of paired direction vectors. CONSTITUTION:The overlapping pattern groups are extracted through comparison with the initial set value 403 by means of an addition/subtraction counter 3, an adder 4 and a comparator 6. Then the distance 405 between the extracted vectors is calculated and outputted by a register 2 and a subtractor 5. For calculation of the distance 405, the information showing whether the supplied direction vector 401 is outputted or not is used together with the information showing whether the vector 401 is set at the right or left side of an extracted pattern. Therefore the control is carried out by the register control clock 406 and the subtractor control clock 407 given from a timing controller 7 and from the results of the vector 401 and the vector output information.

Description

【発明の詳細な説明】 (発明の属する技術分野) 本発明は二次元座標系における図形演算装置に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION (Technical field to which the invention pertains) The present invention relates to a graphic calculation device in a two-dimensional coordinate system.

(従来技術) 従来、二次元座標系領域において、第1口内(ICにお
ける抵抗のマスクパターンを示す。)あるいはノ)(地
図上の等高純の例を示す。)の様な閉じている図形が複
数で重なり合う図形群から、第1図(Qの様な論理和、
又はの)の様な任意に重かる図形の抽出を行ない抽出さ
れた図形の距離を9出するために、計算機上のプログラ
ム処理が行なわれている。
(Prior art) Conventionally, in a two-dimensional coordinate system area, a closed figure such as the first mouth (indicates a resistor mask pattern in an IC) or (indicates an example of contour purity on a map) Figure 1 (logical sum like Q,
Program processing on a computer is performed to extract arbitrarily heavy figures such as (or) and calculate the distance of the extracted figures by 9.

これは、図形表示端末機上で扱う図形を、任意の重なる
図形の抽出及び距離の算出の実行毎に計、算機本体へ籐
大な座標値のすべてを送りかつ処理結果を受けなければ
ならず、画面を見ながら実行される図形処理において応
答速度の遅さから相互操作に支障を及ばすという欠点が
あった。このため図形処理の分散化を容易にする図形演
算装置の実現が望まれていた。
This requires calculating the figures handled on the figure display terminal each time you extract any overlapping figures or calculating distance, and then send all the coordinate values to the calculator itself and receive the processing results. First, there is a drawback that the slow response speed in graphical processing performed while looking at the screen hinders mutual operations. Therefore, it has been desired to realize a graphic arithmetic device that facilitates the decentralization of graphic processing.

(発明の目的) 本発明の目的は、か\る狩来の欠点を除去するために、
二次元座標系を扱う図形表示端末機上において、図形の
分散処理が容易にできるところの閉じている図形の演算
機能を有する図形演算装置を提供することにある。
(Object of the invention) The object of the invention is to eliminate the drawbacks of
It is an object of the present invention to provide a graphic arithmetic device having an arithmetic function for closed figures, which facilitates distributed processing of figures on a graphic display terminal that handles a two-dimensional coordinate system.

(発明の構成) 本発明の装置は、一つの閉じた二次元図形を表現する各
頂点の座標値を一定回転方向に並べて形成される方向ベ
クトルのうち一つの座標軸に対して各頂点で分割された
スリットに挾壕れるお互に反対方向の一対の所定の前記
方向ベクトルを抽出する抽出手段と、前記一対の方向ベ
クトルの一つの座標軸に対するそれぞれの座標値から前
記一対の方向ベクトル間の距離を算出する算出手段とを
含むことからなっている。
(Structure of the Invention) The device of the present invention divides a direction vector formed by arranging the coordinate values of each vertex expressing one closed two-dimensional figure in a constant rotation direction at each vertex with respect to one coordinate axis. extracting means for extracting a pair of predetermined directional vectors in mutually opposite directions inserted into a slit, and calculating a distance between the pair of directional vectors from respective coordinate values of the pair of directional vectors with respect to one coordinate axis; and calculation means for calculating.

(発明の概略) 第2図は本発明の装置の基本動作を説明するためのブロ
ック図である。
(Outline of the Invention) FIG. 2 is a block diagram for explaining the basic operation of the apparatus of the present invention.

本発明の図形演算装置1は、第2図に示す様に稜述の方
向ベクトル201とX座標値202を入力することによ
り、初期設定値203で定義された任意の重なる図形を
抽出するための方向ベクトルを残すか弗さないかのベク
トル・コントロール情報204と、残す図形の距離2(
15を出力する構成をとっている。
As shown in FIG. 2, the graphic arithmetic device 1 of the present invention is capable of extracting arbitrary overlapping figures defined by an initial setting value 203 by inputting a direction vector 201 of an edge description and an X coordinate value 202. Vector control information 204 indicating whether to leave the direction vector or not, and the distance 2 of the figure to be left (
The configuration is such that it outputs 15.

本装置1の入力となる方向ベクトル201とX座標値2
02は次の様な方法で定義される。二次元の座標領埴内
で閉じた図形毎に一定回転方向例えは、右回りの方向で
並び替えた各頂点の座標値から第3図の様にY軸方向で
座標値が存在する毎にスリット分割を行ない、一つのス
リブ)303上に交叉する2点に対し、上下方向へ方向
付けを行なう。これをスリット間における方向ベクトル
301と定義する。更に、スリットの下側に交叉する点
のX座標値302を得る。これらを本装置1の入力とす
る。
Direction vector 201 and X coordinate value 2 that are input to this device 1
02 is defined in the following way. For example, the constant rotation direction for each closed figure in a two-dimensional coordinate area is as follows: From the coordinate values of each vertex rearranged in a clockwise direction, every time there is a coordinate value in the Y-axis direction as shown in Figure 3, After dividing into slits, the two intersecting points on one slit (303) are oriented in the vertical direction. This is defined as a direction vector 301 between the slits. Furthermore, the X coordinate value 302 of the point intersecting the lower side of the slit is obtained. These are input to the device 1.

スリット毎にベクトルが上方向であれは加算し、下方向
であれば減算する。この値を順次初期設定値203と比
較しながら、一致するベクトルに対してベクトル・コン
トロールは該ベクトルヲ残すためのベクトル・コントロ
ール情報204を出力し、残すベクトル間の距離205
を出力する。残すベクトルのX座標値202と処理して
いるY座標値を格納し、図形表示端末上で分割されたス
リットすべてに対して、本装置を通すことにより初期設
定値203で寿えられた値に1を加えた値だけ重なる図
形を抽出し、距離を算出する。
For each slit, if the vector is in the upward direction, it is added, and if it is in the downward direction, it is subtracted. While sequentially comparing this value with the initial setting value 203, for vectors that match, the vector control outputs vector control information 204 for leaving the vector, and calculates the distance 205 between the remaining vectors.
Output. The X coordinate value 202 of the vector to be left and the Y coordinate value being processed are stored, and the values maintained at the initial setting value 203 are set by passing this device through all the slits divided on the graphic display terminal. Extract figures that overlap by the value added by 1 and calculate the distance.

本発明は、図形演算に煩雑さと応答速度の達さを生じる
計算機本体と図形表示端末機間の莫大な腎のデータの受
は渡しを行なうことなく、図形表示端末機上で高速な図
形演算を実現し、計算機本体側の負担を軽減する効果が
ある。
The present invention allows high-speed graphical operations to be performed on the graphical display terminal without having to transfer huge amounts of data between the computer main body and the graphical display terminal, which causes complexity and insufficient response speed in graphical operations. This has the effect of reducing the burden on the computer itself.

(実施例) 以下図面を参照して本発明の冥施例について説明する。(Example) Embodiments of the present invention will be described below with reference to the drawings.

第4図は本発明の一実施例を示すブロック図である。FIG. 4 is a block diagram showing one embodiment of the present invention.

クロックφ、は方向ベクトル401と初期設定値403
の入力促進信号であり、クロッフグ、は加減算カウンタ
3と加算器4の遅延を考慮した比較器6に対する入力促
進信号である。加減算カウンタ3と加算器4及び比較器
6によシ初期設定値4035− と比較照合することにより重なる図形群の抽出を実現し
、レジスタ2と減算器5により抽出ベクトル間の距離4
05を算出し出力する。
The clock φ is the direction vector 401 and the initial setting value 403
is an input prompting signal for the comparator 6 in consideration of the delay of the addition/subtraction counter 3 and the adder 4. The addition/subtraction counter 3, the adder 4, and the comparator 6 compare and match the initial setting value 4035- to realize the extraction of a group of overlapping figures, and the register 2 and the subtractor 5 calculate the distance 4 between the extracted vectors.
05 is calculated and output.

距離405の算出を実現するには、入力された方向ベク
トル401を出力するか否かと該方向ベクトル401が
抽出図形の左側のベクトルが右側のベクトルかの情報に
より算出できるため、タイミング・コントローラ7から
のレジスタ制御クロック406及び減算器制御クロック
407により方向ベクトル401とベクトル出力情報の
結果から制御する。方向ベクトル401人力がHレベル
かつベクトル・コントロール情報404 カHレベルの
時にレジスタ2にX座標値402をロードし、減算器5
をOにクリアする。次に、方向ベクトル401人力がL
レベルかつベクトル・コントロール情報404がHレベ
ルの時にロードされたX座標値402と対象とされてい
る方向ベクトル401が有するX座標値402とを減算
器5で減算することにより、図形表示端末上の単位で抽
出するベクトル間の距離405が算出され出力される。
In order to realize the calculation of the distance 405, the timing controller 7 can calculate the distance 405 by determining whether or not the input direction vector 401 is to be output and whether the direction vector 401 is the left vector of the extracted figure or the right vector. The register control clock 406 and the subtracter control clock 407 control the direction vector 401 and the result of the vector output information. When the direction vector 401 is at the H level and the vector control information 404 is at the H level, the X coordinate value 402 is loaded into the register 2, and the subtracter 5
Clear to O. Next, the direction vector 401 human power is L
By subtracting the X coordinate value 402 loaded when the level and vector control information 404 is H level and the X coordinate value 402 of the target direction vector 401 using the subtracter 5, A distance 405 between vectors extracted in units is calculated and output.

6一 第5図は第4図で構成される本実施例をタイムチャート
として示したものである。このタイムチャートは第3図
のスリブ)Aに対して記述され、方向ベクトル(blと
方向ベクトル(elを抽出し距離を出力する過程を示し
ている。
6-FIG. 5 shows the present embodiment configured in FIG. 4 as a time chart. This time chart is written for the sleeve A in FIG. 3, and shows the process of extracting the direction vector (bl) and the direction vector (el) and outputting the distance.

すなわち、この場合、方向ベクトル401は(a)、 
(bl 、 (dlが上向きでHレベ”(’J * (
el + (’lが下向きでLレベルとなっており、ベ
クトル・コントロール情報は所定の方向ベクトル(bJ
 、 (elを抽出して(bJ、(e)でHレベルに立
上っている。そしてこれに対応してレジスタ制御クロッ
ク406と減算器制御クロックが立上ることによ〕方向
ベクトル(blと方向ベクトル(e)間のX座標軸上で
の距離が算出され出力される。
That is, in this case, the direction vector 401 is (a),
(bl, (dl is upward and H level"('J * (
el + ('l is downward and at L level, and the vector control information is a predetermined direction vector (bJ
, (extracts el and rises to H level at (bJ, (e). Correspondingly, register control clock 406 and subtractor control clock rise), direction vector (bl and The distance between the direction vectors (e) on the X coordinate axis is calculated and output.

なお、この実施例においては構成ブロックの個々の詳細
回路の説明は省略したが、これらはいずれも公知の技術
を用い容易に実現されるものであるO (発明の効果) 以上詳細に説明したとおり、本発明の装置は、前述した
構成をとることにより、従来のように莫大な座標データ
を計算機本体に対して受は渡しを行なうことなく、図形
表示端末上で重なる図形群から任意図形の抽出及び抽出
図形の距離の算出を可能にしているので、図形処理の分
散化を容易に実現できるという効果を有している。
Although detailed explanations of the individual constituent blocks have been omitted in this embodiment, they can all be easily realized using known techniques. (Effects of the Invention) As explained in detail above. By adopting the above-described configuration, the device of the present invention is capable of extracting arbitrary figures from a group of overlapping figures on a figure display terminal without having to send and receive huge amounts of coordinate data to the computer body as in the conventional case. Since it is possible to calculate distances of extracted figures, it has the effect that figure processing can be easily decentralized.

形群例を示す説明図、第2図は本発明の装置の基本動作
を説明するためのブロック図、第3図は第1図(5)に
対して方向ベクトル分解を施こしスリット分割を行なっ
た例を示す説明図、第4図は本発明の一実施例を示すブ
ロック図、第5図は第4図の実施例の動作例を示すタイ
ムチャートである。
FIG. 2 is a block diagram for explaining the basic operation of the device of the present invention, and FIG. 3 is a diagram showing an example of a shape group. FIG. FIG. 4 is a block diagram showing an embodiment of the present invention, and FIG. 5 is a time chart showing an example of the operation of the embodiment of FIG.

1・・・・・・図形演算装置、2・・・・・・レジスタ
、3・・・・・・加減算カウンタ、4・・・・・・加算
器、訃・・・・・減算器、6・・−・・比較器、7・・
・・・・夕春ミングコントローラ、201.301.4
01・・・・・・方向ベクトル、202,402・・・
・・・X座標値、203,403・・・・・・初期設定
値、204.404・・団・ベクトル・コントロールf
ig、205゜405・川・・距離、302・・・・・
・X座標入力点、3o3・・・・・・スリット、4o6
・・・・・・レジスタ制御クロック、407・・・・・
・減算器制御り四ツク、戸0.h・・・・・・クロック
1... Graphic arithmetic device, 2... Register, 3... Addition/subtraction counter, 4... Adder, 2... Subtractor, 6・・・-・Comparator, 7...
...Yuharu Ming Controller, 201.301.4
01...Direction vector, 202,402...
...X coordinate value, 203,403...Initial setting value, 204.404...Group vector control f
ig, 205°405・river・distance, 302・・・・
・X coordinate input point, 3o3...Slit, 4o6
...Register control clock, 407...
・Subtractor control 4, door 0. h...Clock.

9− 条1回9- 1 time

Claims (1)

【特許請求の範囲】 一つの閉じた二次元図形を表現する各頂点の座標値を一
定回転方向に並べて形成される方向ベクトルのうち一つ
の座標軸に対して各頂点で分割されたスリットに挾まれ
るお互に反対方向の一対の所定の前記方向ベクトルを抽
出する抽出手段と。 前記一対の方向ベクトルの一つの座標軸に対するそれぞ
れの座標値から前記一対の方向ベクトル間の距離を算出
する算出手段とを含むことを%做とする図形演算装置。
[Claims] A direction vector formed by arranging the coordinate values of each vertex expressing one closed two-dimensional figure in a constant rotation direction is inserted into a slit divided at each vertex with respect to one coordinate axis. Extracting means for extracting a pair of predetermined direction vectors in mutually opposite directions. A graphic calculation device comprising: calculation means for calculating a distance between the pair of direction vectors from respective coordinate values of the pair of direction vectors with respect to one coordinate axis.
JP186283A 1983-01-10 1983-01-10 Graphic arithmetic device Pending JPS59127168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP186283A JPS59127168A (en) 1983-01-10 1983-01-10 Graphic arithmetic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP186283A JPS59127168A (en) 1983-01-10 1983-01-10 Graphic arithmetic device

Publications (1)

Publication Number Publication Date
JPS59127168A true JPS59127168A (en) 1984-07-21

Family

ID=11513350

Family Applications (1)

Application Number Title Priority Date Filing Date
JP186283A Pending JPS59127168A (en) 1983-01-10 1983-01-10 Graphic arithmetic device

Country Status (1)

Country Link
JP (1) JPS59127168A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6392226B1 (en) 1996-09-13 2002-05-21 Hitachi, Ltd. Mass spectrometer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6392226B1 (en) 1996-09-13 2002-05-21 Hitachi, Ltd. Mass spectrometer

Similar Documents

Publication Publication Date Title
CN110111247B (en) Face deformation processing method, device and equipment
JP2725062B2 (en) Image processing device
TWI748432B (en) Method, apparatus, device and computer readable storage medium for rendering three-dimensional partial human body model
US3816726A (en) Computer graphics clipping system for polygons
US9836199B2 (en) User interface device and display object operating method
JPS63198174A (en) Graphic processor
WO2019088697A1 (en) Pose recognition method and device
JPS59127168A (en) Graphic arithmetic device
JP2747002B2 (en) Separation method of straight line part and curved part of shape represented by straight line short vector sequence
JPS5947664A (en) Picture paint processing system
CN111080694A (en) Training and positioning method, device, equipment and storage medium of positioning model
JPS6356584B2 (en)
JPH0695341B2 (en) Hidden surface treatment device
JP2985275B2 (en) Character generation method of outline font
JP3332502B2 (en) Offset figure creation method and apparatus
JPH04168581A (en) Approximate curve generating method for hyperellipse
JPH1021415A (en) Graphic processor and graphic processing method
JPS5846026B2 (en) Hidden line cancellation method in display devices
WO2018097378A1 (en) Device and method for generating drawing animation
JPS60215279A (en) Molecule movement simulator
JPS63163584A (en) Clipping processing system
CN112862936A (en) Expression model processing method and device, electronic equipment and storage medium
JPS619775A (en) Picture image processor
JPS60254385A (en) Stroke identification system
JPS6346875B2 (en)