JPH02275574A - Coordinate detecting system for specified graphic - Google Patents

Coordinate detecting system for specified graphic

Info

Publication number
JPH02275574A
JPH02275574A JP1097769A JP9776989A JPH02275574A JP H02275574 A JPH02275574 A JP H02275574A JP 1097769 A JP1097769 A JP 1097769A JP 9776989 A JP9776989 A JP 9776989A JP H02275574 A JPH02275574 A JP H02275574A
Authority
JP
Japan
Prior art keywords
shape
data
coordinates
dot
specified
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
JP1097769A
Other languages
Japanese (ja)
Other versions
JP2562498B2 (en
Inventor
Toshio Fujita
敏男 藤田
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.)
KANSAI PANAFUAKOMU KK
PFU Ltd
Original Assignee
KANSAI PANAFUAKOMU KK
PFU 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 KANSAI PANAFUAKOMU KK, PFU Ltd filed Critical KANSAI PANAFUAKOMU KK
Priority to JP9776989A priority Critical patent/JP2562498B2/en
Publication of JPH02275574A publication Critical patent/JPH02275574A/en
Application granted granted Critical
Publication of JP2562498B2 publication Critical patent/JP2562498B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To rapidly execute control for detecting that inputted coordinates are a specified graphic by simple constitution by setting up a specified shape as the data of nine dots in a corresponding table and pointing out the data. CONSTITUTION:A shape input 111 consisting of the center coordinates and eight near-by coordinates is inputted as a specified graphic, a table setting means 112 sets up a specification display on a table 131 for a number correspond ing to the data of nine dots. At the time of generating a coordinate input from a pointing means 17, an eight near-by dot extracting means 122 extracts the coordinates and the eight near-by dot data from a frame memory. A table access means 123 reads out and accesses the table 131 by means of the extracted 9-dot information and a coincidence detecting means 124 identifies the detection of the specified shape by the information read out from the table 131. If the specified shape is not detected, the value of the coordinate input is changed to the adjacent dot position to retrieve the specified shape. Consequently, proba bility for detecting a graphic by one pointing can be improved and rapid opera tion can be attained.

Description

【発明の詳細な説明】 [概要] 表示部と′ポインティング手段を備えT二情報処理装置
における指定図形の座標検出方式に関し、ポインティン
グデバイスにより入力された座標が指定された図形であ
ることを検出する制御を耐重な構成により迅速に実行す
ることができる指定図形の座標検出方式を提供すること
を目的とし、形状設定部は、指定図形が中心座標とその
8近傍からなる形状入力が入力されるとテーブル設定手
段により、9ドツトのデータに対応する番号のテーブル
に指定表示を設定し、形状検索部は、ポインティング手
段からの座標入力に対し8近傍ドツト取出し手段により
フレームメモリから該座標と8近傍のドツトデータを取
出し、取出された9ドツト情報を用いてテーブルアクセ
ス手段はテーブルに読出しアクセスし、−4検出手段は
テーブルから読出された情報により指定形状の検出を識
別し、検出できない時に座標入力の値を隣接するドツト
位置に変更して検索を行うよう構成する。
[Detailed Description of the Invention] [Summary] Regarding a method for detecting the coordinates of a specified figure in a T2 information processing device that includes a display unit and a pointing means, it is detected that the coordinates input by a pointing device are the specified figure. The purpose is to provide a method for detecting the coordinates of a designated shape that can quickly perform control using a heavy-duty configuration. The table setting means sets a designated display in the table with the number corresponding to the data of 9 dots, and the shape search section, in response to the coordinate input from the pointing means, extracts the coordinates and 8 neighboring dots from the frame memory using the 8 neighboring dot extraction means. The table access means reads and accesses the table by taking out the dot data and using the taken out 9 dot information, and the -4 detection means identifies the detection of the designated shape using the information read from the table, and when it cannot be detected, inputs the coordinates. Configure the search to change the value to the adjacent dot position.

[産業上の利用分野コ 本発明は表示部とポインティング手段を備えf;情報処
理装置における指定図形の座標検出方式に関する。
[Industrial Field of Application] The present invention relates to a method for detecting the coordinates of a designated figure in an information processing device, which includes a display unit and pointing means.

近年コンピュータを用いたグラフィック処理がCAD 
(Computer Aided Design)、 
 CAM (Computer Aided Manu
facturing)等の分野および0A(Offic
e Automation)分野で利用されるようにな
った。そして、現在のコンピュータにおけるグラフィッ
ク処理はデイスプレィ上でのフルカラーのサポート、リ
アルな画像、緻密な作図機能などの点で従来よりももか
に高度なものとなっている。
In recent years, graphic processing using computers has become known as CAD.
(Computer Aided Design)
CAM (Computer Aided Manufacturer)
fields such as factoring) and 0A (Offic
e-Automation) field. Graphic processing in current computers has become much more advanced than before in terms of full-color support on displays, realistic images, and precise drawing functions.

この高度なグラフィック処理においても人間による入力
処理が必要であり、その中で表示図形に対して座標を指
示するポインティング手段としてマウス、タブレット、
ライトペンなど種々の装置が利用されている。ところが
、これらのポインティング手段によっては緻密なグラフ
インク画面の特定の図形を正確にポイントすることは困
難になっている。
This advanced graphic processing also requires human input processing, and mouse, tablet,
Various devices such as light pens are used. However, with these pointing means, it is difficult to accurately point to a specific figure on a dense graph ink screen.

従来の技術では処理が複雑であづたため、マウスやタブ
レフト等をポインティングデバイスとして使う、高解像
度のグラフインクメモリの任意点を指定させる場合に迅
速に目的の図形を選び出したいという要望が強い。
Conventional techniques require complicated processing, so there is a strong desire to quickly select a desired figure when specifying an arbitrary point in a high-resolution graph ink memory using a mouse, tablet left, etc. as a pointing device.

[従来の技術] 第6図は従来例の説明図である。[Conventional technology] FIG. 6 is an explanatory diagram of a conventional example.

第6図のイ、は従来のポインティングデバイスによる指
定方法、口、はその場合の図形判定のアルプリズムを示
す。
A in FIG. 6 shows a conventional pointing device specification method, and ``mouth'' shows an al prism for figure determination in that case.

イ、には、デイスプレィ画面(フレームメモリの内容に
対応)上に長方形の図形が示され、その長方形の図形を
カーソル(矢印により示す)によりポインティングする
場合、従来はカーソル(図の矢印)をマウスやタブレフ
ト等により長方形の頂点に移動して入力指定(操作スイ
ッチをオンにするなど)を行う。
In Figure 1, a rectangular figure is shown on the display screen (corresponding to the contents of the frame memory), and when pointing to the rectangular figure with a cursor (indicated by an arrow), conventionally the cursor (indicated by the arrow in the figure) was or tab left, etc., to move to the vertex of the rectangle and specify input (such as turning on an operation switch).

これにより、第6図口、の図形指定判定のアルゴリズム
が開始される。最初にポインティングデバイスより(X
、Y)の座標値の通知がある(ステップ40)。この座
標値に対して、ステップ41ではメインメモリに格納さ
れている(フレームメモリから予め取出されている)長
方形の各頂点を表す(頂点l乃至頂点4で示す)ベクト
ルデータの先頭(頂点1)の座標データ(X’ 、Y’
 ”)を取出す(ステップ41)。
As a result, the algorithm for figure designation determination shown in FIG. 6 is started. First, from the pointing device (X
, Y) is notified (step 40). For this coordinate value, in step 41, the beginning (vertex 1) of the vector data (indicated by vertices 1 to 4) representing each vertex of the rectangle stored in the main memory (previously taken out from the frame memory) coordinate data (X', Y'
”) (step 41).

このデータについてステップ42でデータの有無がチエ
ツクされるが、この場合データが有るのでステップ43
に移りそこでデータ(X、Y)と(X’ 、Y’ )が
−敗するか否かを判別し、一致するとブザー通知を実行
しくステップ44)、当該図形の選択(ポインティング
)入力が可能となる(ステップ45)。
The presence or absence of this data is checked in step 42, but in this case, since the data is present, step 43
Then, it is determined whether the data (X, Y) and (X', Y') are -defective or not, and if they match, a buzzer notification is executed (step 44), and selection (pointing) of the figure can be input. (Step 45).

ステップ43において、一致がとれないとメインメモリ
から次のデータ(頂点2)を取出して同様の処理を行う
。このようにして、メインメモリの全てのデータ(頂点
1乃至頂点4)について比較照合しても一致がとれない
と、最後にステップ42においてデータが無いと判定さ
れる。この場合は、ポインティングによる指定座標が誤
った位置であるから、ステップ40に戻ってポインティ
ングデバイスによる指定座標の入力動作を再度行う。そ
の再入力された座標値(X、Y)について同様の処理が
行われる。
In step 43, if no match is found, the next data (vertex 2) is retrieved from the main memory and the same process is performed. In this way, if no match is found even after comparing and collating all the data in the main memory (vertices 1 to 4), it is finally determined in step 42 that there is no data. In this case, since the coordinates specified by pointing are incorrect, the process returns to step 40 and the operation of inputting the specified coordinates using the pointing device is performed again. Similar processing is performed for the re-input coordinate values (X, Y).

このような処理は、線の端点(終端)や、2つの線の交
点をポインティングする場合も同様に行われる。
Such processing is similarly performed when pointing to the end point (terminus) of a line or the intersection of two lines.

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

上記した従来例で示すように、グラフィックメモリの任
意の点を指定させる場合には、デイスプレィ上で座標点
を指定するのが煩わしく、かつ時間がかかっていた。
As shown in the above-mentioned conventional example, when specifying an arbitrary point in the graphic memory, it is troublesome and time-consuming to specify the coordinate point on the display.

また、従来の技術では、CAD、CAM分野やOAの分
野において蓄積されたベクトル座標と指定点を比較する
処理のアルゴリズムをコード化するのに非常に大きな労
力を要しており、またデータ領域を獲得するために大き
なメモリを要するという問題があった。
In addition, with conventional technology, it takes a great deal of effort to code the processing algorithm that compares the vector coordinates accumulated in the CAD, CAM, and OA fields with specified points, and the data area is There was a problem in that it required a large amount of memory to acquire the data.

本発明はポインティングデバイスにより入力された座標
が指定された図形であることを検出する制御を前車な構
成により迅速に実行することができる指定図形の座標検
出方式を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a method for detecting the coordinates of a specified figure, which can quickly perform control to detect that the coordinates input by a pointing device are the specified figure using a front-vehicle configuration.

[課題を解決するための手段] 第1図は本発明の原理的構成図である。[Means to solve the problem] FIG. 1 is a diagram showing the basic configuration of the present invention.

第1図において、10は情報処理装置、11は形状設定
部、12は形状検索部、13はメモリ、14は表示部、
15はフレームメモリ、16はキーボード、17はポイ
ンティング手段を表す。
In FIG. 1, 10 is an information processing device, 11 is a shape setting section, 12 is a shape search section, 13 is a memory, 14 is a display section,
15 is a frame memory, 16 is a keyboard, and 17 is a pointing means.

形状設定部11は、入力された形状入力の保持部111
とこのデータをテーブルに設定するテーブル設定手段1
12とで構成され、形状検索部12は座標入力の保持部
121.8近傍ドツト取出し手段122、テーブルアク
セス手段123および一致検出手段124とで構成され
る。
The shape setting unit 11 stores the input shape input in a holding unit 111.
Table setting means 1 for setting this data in a table
12, and the shape search section 12 is composed of a coordinate input holding section 121.8 neighboring dot extraction means 122, table access means 123, and coincidence detection means 124.

本発明は指定形状を9ドツトのデータとして対応するテ
ーブルに設定し、ポインティングされた座標についてフ
レームメモリから8近傍ドツト(中心を含めて9ドツト
)のデータを取出して、そのドツトデータにより指定さ
れたテーブルを読出して一致を検出するものである。
The present invention sets the specified shape as 9-dot data in the corresponding table, retrieves the data of 8 neighboring dots (9 dots including the center) from the frame memory for the pointed coordinate, and creates the shape specified by the dot data. It reads the table and detects a match.

[作用] 最初にポインティングしたい図形をキーボード16によ
り入力する。この場合、図形として3ドツト×3ドツト
のマドリンクスの各ドツトのオン′(“1”)またはオ
フ(“0″)により指定したい図形が表現される。この
9ドツトの設定図形の形状入力111は、テーブル設定
手段112において、その9ドツトを9ピントの2進デ
ータに変換し、予めメモリ13に設げられた多数のテー
ブルの中の対応する番号のテーブルに登録(“1”を立
てる)する。
[Operation] First, input the figure you want to point to using the keyboard 16. In this case, the desired figure is represented by the on'("1") or off ("0") of each dot in a 3 dot x 3 dot mad link. The shape input 111 of this 9-dot set figure is performed by converting the 9 dots into 9-pin binary data in the table setting means 112, and inputting the corresponding numbers in a large number of tables previously provided in the memory 13. Register (set “1”) in the table.

この形状設定が行われた後、ポインティング手段17に
より表示部14の表示画面をみて指定した図形が存在す
ると認識される位置に対してポインティングが行われる
と、その座標入力は形状検索部12の保持部121に保
持される。これにより、8近傍ドツト取出し手段122
は、保持部121の座標を中心として8近傍ドツト(全
体で9ドソ日をフレームメモリ15から取出す。取出さ
れたデータはバッファ132に格納される。
After this shape setting is performed, when the pointing means 17 points to a position where the specified figure is recognized to exist on the display screen of the display unit 14, the coordinate input is held in the shape search unit 12. 121. As a result, the 8-neighborhood dot extraction means 122
extracts 8 neighboring dots (9 doso days in total) from the frame memory 15 with the coordinates of the holding unit 121 as the center.The extracted data is stored in the buffer 132.

この9ドツトのデータは次のテーブルアクセス手段12
3において、9ビツトデータとして2進データに変換さ
れ、そのデータをアドレスとしてテーブル131の対応
する番号の内容を続出す。
This 9-dot data is accessed by the next table access means 12.
At step 3, the data is converted into binary data as 9-bit data, and the contents of the corresponding number in the table 131 are successively output using the data as an address.

読出されたテーブルの内容は、一致検出手段124にお
いて判別され、その内容が登録された内容(“1”)で
あれば、一致したことを表す通知出力を発生し、登録さ
れたテーブルでない(“0”)場合は、不一致出力を発
生し、座標入力の保持部121の座標位置を左、右、上
、下の一つ例えば、左に1ドツト分移動した座標に変化
させる。変化した座標により再び8近傍ドツト取出し手
段122によるフレームメモリからのデータ読出しや、
テーブルアクセス手段123によるテーブル続出し等の
動作が行われ、一致が検出されないと、元の座標の上に
1ドツト移動させ、次に入力座標を右に1ドツト変化さ
せるというように順次座標を変化させて検索を行う。
The content of the read table is determined by the match detection means 124, and if the content is the registered content (“1”), a notification output indicating that there is a match is generated, and if the content is not a registered table (“ 0''), a mismatch output is generated, and the coordinate position of the coordinate input holding unit 121 is changed to one of the left, right, top, and bottom coordinates, for example, moved by one dot to the left. Based on the changed coordinates, data is read out from the frame memory again by the 8-neighborhood dot extraction means 122,
When the table access means 123 performs an operation such as adding a table one after another and no match is detected, the coordinates are sequentially changed by moving one dot above the original coordinates, then changing the input coordinates one dot to the right. search.

このように、図形を指定した後、ポインティング手段に
よる位置の指定は厳密な位置をポインティングしなくて
も、指定された形状の座標(中心座標)を自動的に変化
させて検索動作を行うことにより指定図形を検出するこ
とができる。
In this way, after specifying a shape, the position can be specified by pointing means without pointing at the exact position, by automatically changing the coordinates (center coordinates) of the specified shape and performing a search operation. Specified shapes can be detected.

[実施例] 第2図は実施例の処理フロー図、第3図は処理の詳細説
明図、第4図は図形設定の具体例を示す図、第5図は図
形指定の動作例を示す図である。
[Example] Fig. 2 is a processing flow diagram of the embodiment, Fig. 3 is a detailed explanatory diagram of the processing, Fig. 4 is a diagram showing a specific example of figure setting, and Fig. 5 is a diagram showing an operation example of figure specification. It is.

第2図の処理フローを第3図を参照しつつ説明する。The processing flow in FIG. 2 will be explained with reference to FIG. 3.

初めに、検出したい形状を8近傍を含むデータとして設
定する(ステップ20)。この指定は、第3図イ、に示
すように、中心座標の周囲の8近傍のドツトを含めて、
3ドツト×3ドツトのマトリックスのパターンとして設
定する。この場合、中心座標のドツトをθビット位置と
して、図示のように各ドツト位置の数値がビット位置と
して扱うことにより、9ビツトのデータとなる。
First, the shape to be detected is set as data including eight neighborhoods (step 20). This designation includes 8 neighboring dots around the center coordinates, as shown in Figure 3A.
Set as a 3 dot x 3 dot matrix pattern. In this case, the dot at the center coordinates is treated as a θ bit position, and the numerical value at each dot position is treated as a bit position as shown in the figure, resulting in 9-bit data.

この9ピントは、各ドツトが表示状態としてオン(I”
)かオフ(“θ″)かの2つの状態の何れかを表す。(
但し、白、黒の画像表示では2状態であるが、カラー表
示の場合は、黒を“O”にしてそれ以外の色(パレット
)を“1”にする)。
In this 9-focus mode, each dot is on (I”) as the display state.
) or off (“θ”). (
However, in the case of white and black image display, there are two states, but in the case of color display, black is set to "O" and other colors (palette) are set to "1").

このように9ビツトのデータは、各ビットのオン、オフ
の組み合わせにより512のパターンが発生することが
できる。従って、それぞれのパターンに対応して512
個のテーブルを用意する。
In this way, 9-bit data can generate 512 patterns depending on the combination of on and off of each bit. Therefore, corresponding to each pattern, 512
Prepare a table.

次に第2図のステップ21においてテーブル設定が行わ
れる。この設定動作は、第3図口、に実例により示され
ており、9ドツトのパターンがドツト0,1.7が“1
” (オン状態)の図形を設定した時、9ビツトのデー
タはr 0100OOOIIJとなり、これを2進数と
解すると10進数の「131」に相当する。そこで、5
12個あるテーブルの先頭から131番目のテーブルに
“1”をセントすることにより設定が行われ、その他の
全てのテーブルを“0′にする。なお、複数のパターン
を同時に検索したい時は、対応する他の番号のテーブル
をセットすればよい。
Next, table setting is performed in step 21 of FIG. This setting operation is shown by example in Figure 3, where the pattern of 9 dots is 0, 1.7 is 1
” (on state), the 9-bit data becomes r 0100OOOIIJ, which, if interpreted as a binary number, corresponds to the decimal number “131”. Therefore, 5
The setting is performed by placing "1" in the 131st table from the beginning of the 12 tables, and all other tables are set to "0".If you want to search for multiple patterns at the same time, please use the corresponding All you have to do is set a table with other numbers.

次に、ステップ22(第2図)においてポインティング
デバイスより座標値を取出す。続いてステップ23でこ
の座標値を中心とする8近傍情報(合計9ドツト)をフ
レームメモリから取出す。
Next, in step 22 (FIG. 2), coordinate values are retrieved from the pointing device. Subsequently, in step 23, 8 neighboring information (9 dots in total) centered on this coordinate value is retrieved from the frame memory.

このデータは、次のステップ24において設定した8近
傍(データ)と−敗するかどうかを判定し、−敗した場
合カーソルが一致点に移動する(ステップ26)。なお
、この間−敗が得られるまで表示されたカーソルの位置
はポインティングデバイスにより入力された最初の位置
を保持している。この後、ブザー通知を出力(ステップ
27)してポインティングによる指定が可能となる。
This data is compared with the 8 neighbors (data) set in the next step 24 to determine whether or not there is a loss, and if there is a loss, the cursor moves to the matching point (step 26). During this time, the position of the displayed cursor maintains the initial position input by the pointing device until a loss is obtained. Thereafter, a buzzer notification is output (step 27) and specification by pointing becomes possible.

ステップ24において一致が得られない時は、ステップ
25に移って、1ドツトシフト(上、下。
If a match is not obtained in step 24, the process moves to step 25 and shifts by one dot (up, down, etc.).

左、右)して、ステップ23.24の処理が繰り返され
て、−敗を見出す動作が行われる。
left, right), and the process of steps 23 and 24 is repeated to find a -defeat.

上記のステップ23.24による処理の詳細を第3図ハ
、に示す8近傍テーブルによる比較照合処理フローによ
り説明する。
The details of the processing in steps 23 and 24 above will be explained with reference to the comparison processing flow using the 8-neighborhood table shown in FIG. 3C.

ステップ31 (第2図のステップ23に対応)により
中心を含む8近傍をフレームメモリから取出すと、ステ
ップ32において取出された9ドツトのデータは第3図
イ、に示す方法により9ビツトデータに変換される。次
に、その変換されたデータとテーブル先頭アドレス(第
3図口、に示すアドレスX)を加算して、その結果をア
ドレスとしてテーブルを読出す(ステップ33)。次に
読出しデータの内容が“l”か否かを判別して、“l゛
であれば設定図形と一致したものとして処理(第2図ス
テップ26)が行われ、0”の場合は指定図形と不一致
であるとして対応する処理(第2図のステップ25)に
移る。
When the 8 neighborhoods including the center are retrieved from the frame memory in step 31 (corresponding to step 23 in Figure 2), the 9-dot data retrieved in step 32 is converted to 9-bit data by the method shown in Figure 3A. be done. Next, the converted data and the table head address (address X shown in the opening of FIG. 3) are added, and the table is read out using the result as an address (step 33). Next, it is determined whether the content of the read data is "l" or not, and if it is "l", it is assumed that it matches the set shape and processing is performed (step 26 in Figure 2), and if it is 0, it is processed as the specified shape. It is assumed that there is a mismatch between the two and the corresponding process (step 25 in FIG. 2) is performed.

このように、表示画像中の指定図形が存在する位’ll
に近い場所にカーソルを移動してポインティングするこ
とにより自動的に指定図形を検索して一致した図形を検
出すると通知を行うことがでさる。
In this way, the position where the specified figure exists in the displayed image is
By moving and pointing the cursor to a location close to , it will automatically search for a specified shape and notify you when a matching shape is detected.

図形設定の具体例を第4図に示す。A specific example of graphic settings is shown in FIG.

第4図のイ、には図形選択の形状メニューを画面に表示
する方法が示されている。図に示すように、デイスプレ
ィ画面の右側に端点、交点、角・・・といった形状メニ
ューが表示されており、そのいずれかをカーソル(また
はキーボード)により選択すると、対応する8近傍デー
タの設定が行ねれる。
FIG. 4A shows a method for displaying a shape menu for selecting shapes on the screen. As shown in the figure, a shape menu such as endpoints, intersections, corners, etc. is displayed on the right side of the display screen, and when you select any of them with the cursor (or keyboard), the corresponding 8-neighborhood data settings are performed. I can sleep.

第4図口、には、形状メニューにより選択した形状に対
応する8近傍データが示されている。
4 shows 8 neighborhood data corresponding to the shape selected from the shape menu.

すなわち、端点の場合は、中心座標(3×3のドツトの
中心)を端点とする8つのパターンが選ばれ、これらの
全部を指定図形として設定することができるし、その中
の一つを更に選択することもできる。同様に、交点(2
つの線が直交する点)や、角(90度)の8近傍データ
は図のようなデータが設定される。
In other words, in the case of endpoints, eight patterns are selected with the center coordinates (the center of the 3x3 dot) as the endpoint, and all of these can be set as the specified shape, and one of them can be further You can also choose. Similarly, the intersection (2
The data shown in the figure is set for the 8-neighborhood data of points (points where two lines intersect perpendicularly) and angles (90 degrees).

次に本発明による図形指定の動作例を第5図に示す。Next, an example of the graphic designation operation according to the present invention is shown in FIG.

第5図には、第4図イ、の図形の形状メニューの画面に
おいて「端点」を選択した後の動作が示されている。
FIG. 5 shows the operation after "endpoint" is selected on the figure shape menu screen in FIG. 4A.

第5図イ、の画面には、図形として線50が表示されて
いる時に、ポインティングデバイスによりカーソル51
を矢印の方向に移動して、はぼ先端の位置52 (点線
で示す)で入力のためにスイッチ操作を行うと、第4図
口、の端点の8近傍データとの一致検出の処理が行われ
て、一致を検出するとカーソルが一致点に移動(ポイン
ティングした位置で一致が取れた時は移動しない)して
、ブザー通知が出力され、指定図形を選択して終了する
When the line 50 is displayed as a figure on the screen of FIG.
When you move in the direction of the arrow and operate the switch for input at position 52 (indicated by the dotted line) of the tip of the dowel, the process of detecting a match with the 8 neighboring data of the end point of Figure 4 is performed. When a match is detected, the cursor moves to the matching point (it does not move if a match is found at the pointing position), a buzzer notification is output, the specified shape is selected, and the process ends.

[発明の効果] 本発明によれば利用者が指定したい図形の形状を予め定
義しておくだけで、1回のポインティングで図形を検出
する確率が高くなり迅速なポインティングを実現するこ
とができる。また、フレームメモリ (デイスプレィ画
面上)に描かれた図形情報と8近傍のテーブルを用意し
て検出処理を行うだけで、従来のような繁雑な図形検出
のアルゴリズムとプログラミングを不要とすることがで
き、図形処理システムの開発効率を向上することができ
る。
[Effects of the Invention] According to the present invention, by simply defining in advance the shape of the figure that the user wants to specify, the probability of detecting the figure in one pointing operation is increased and quick pointing can be realized. In addition, by simply preparing the figure information drawn in the frame memory (on the display screen) and a table of 8 neighbors and performing the detection process, the complicated figure detection algorithms and programming required in the past can be eliminated. , the development efficiency of graphic processing systems can be improved.

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

第1図は本発明の原理的構成図、第2図は実施例の処理
フロー図、第3図は処理の詳細説明図、第4図は図形設
定の具体例を示す図、第5図は図形指定の動作例を示す
図、第6図は従来例の説明図である。 第1図中、 10:情報処理装置 2+形状設定部 12;形状検索部 13:メモリ 14:表示部 15:フレームメモリ 16:キーボード 17:ポインティング手段 特許出願人 株式会社ビーエフニー(外1名)復代理人
弁理士  穂坂 相離 尖花イp11f)処理フロー図 $ 2 図 々 口。 ?近傍デ″−20設え 圀力23先′Lの具イ本1ラリち5ホオCn$4!21 ◇ しし 較ジ、モイ針 W升今牛巳定f)p、イ奉イ多・1 と1マオ図$ 5
 図
Fig. 1 is a diagram showing the basic configuration of the present invention, Fig. 2 is a processing flow diagram of the embodiment, Fig. 3 is a detailed explanatory diagram of the processing, Fig. 4 is a diagram showing a specific example of graphic settings, and Fig. 5 is a diagram showing a detailed explanation of the processing. FIG. 6 is a diagram illustrating an example of the operation of designating a graphic, and is an explanatory diagram of a conventional example. In Fig. 1, 10: Information processing device 2 + shape setting section 12; Shape search section 13: Memory 14: Display section 15: Frame memory 16: Keyboard 17: Pointing means Patent applicant: Bfn Co., Ltd. (1 other person) sub-agent Hosaka Hosaka, a human patent attorney, p11f) Processing flow diagram $ 2. ? Neighborhood D''-20 Setting power 23 point L's Gui book 1 Rarichi 5 Hoo Cn$4! 21 ◇ Shishi comparison ji, moi needle W masu now Ushimi set f) p, Ihoi ta・1 and 1 Mao figure $5
figure

Claims (1)

【特許請求の範囲】 表示部とポインティング手段を備えた情報処理装置にお
ける指定図形の座標検出方式において、形状設定部(1
1)は、指定図形が中心座標とその8近傍からなる形状
入力(111)が入力されるとテーブル設定手段(11
2)により、9ドットのデータに対応する番号のテーブ
ル(131)に指定表示を設定し、 形状検索部(12)は、ポインティング手段(17)か
らの座標入力に対し8近傍ドット取出し手段(122)
によりフレームメモリから該座標と8近傍のドットデー
タを取出し、 取出された9ドット情報を用いてテーブルアクセス手段
(123)はテーブル(131)に読出しアクセスし、 一致検出手段(124)はテーブルから読出された情報
により指定形状の検出を識別し、 前記形状検索部(12)は指定形状が検出されない時に
座標入力の値を隣接するドット位置に変更して検索を行
うことを特徴とする指定図形の座標検出方式。
[Claims] In a method for detecting the coordinates of a specified figure in an information processing device equipped with a display unit and pointing means, a shape setting unit (1
1), when a shape input (111) in which a designated figure consists of center coordinates and its eight neighbors is input, the table setting means (11
2), the specified display is set in the table of numbers (131) corresponding to the data of 9 dots, and the shape search unit (12) uses the 8 neighboring dot extraction means (122) in response to the coordinate input from the pointing means (17). )
The coordinates and 8 neighboring dot data are retrieved from the frame memory, the table access means (123) reads and accesses the table (131) using the retrieved 9 dot information, and the match detection means (124) reads from the table. The shape search unit (12) identifies the detection of the designated shape based on the information provided, and when the designated shape is not detected, the shape search unit (12) changes the coordinate input value to an adjacent dot position and searches for the designated shape. Coordinate detection method.
JP9776989A 1989-04-18 1989-04-18 Coordinate detection method for specified figure Expired - Lifetime JP2562498B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9776989A JP2562498B2 (en) 1989-04-18 1989-04-18 Coordinate detection method for specified figure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9776989A JP2562498B2 (en) 1989-04-18 1989-04-18 Coordinate detection method for specified figure

Publications (2)

Publication Number Publication Date
JPH02275574A true JPH02275574A (en) 1990-11-09
JP2562498B2 JP2562498B2 (en) 1996-12-11

Family

ID=14201066

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9776989A Expired - Lifetime JP2562498B2 (en) 1989-04-18 1989-04-18 Coordinate detection method for specified figure

Country Status (1)

Country Link
JP (1) JP2562498B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04245383A (en) * 1991-01-30 1992-09-01 Daikin Ind Ltd Method and device for high-speed process of figure id recognition

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62269276A (en) * 1986-05-19 1987-11-21 Nippon Telegr & Teleph Corp <Ntt> Interactive graphic inputting system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62269276A (en) * 1986-05-19 1987-11-21 Nippon Telegr & Teleph Corp <Ntt> Interactive graphic inputting system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04245383A (en) * 1991-01-30 1992-09-01 Daikin Ind Ltd Method and device for high-speed process of figure id recognition

Also Published As

Publication number Publication date
JP2562498B2 (en) 1996-12-11

Similar Documents

Publication Publication Date Title
US6292179B1 (en) Software keyboard system using trace of stylus on a touch screen and method for recognizing key code using the same
JP3589254B2 (en) Plotting device
JP3599198B2 (en) Figure editing device
JPH02275574A (en) Coordinate detecting system for specified graphic
JPH07121156A (en) Method and device for controlling display
JPS63118820A (en) Menu display device
US6212294B1 (en) Image processing method and apparatus therefor
US5680527A (en) Information processing system having recognized pattern control
JP3138430B2 (en) User interface screen creation support device
JPH04308886A (en) Map information input device
JPH0668258A (en) Graphic digitizing device
JP2721344B2 (en) Image processing method
JP3136852B2 (en) Touch panel screen creation method and device
JP2817845B2 (en) Graphic processing apparatus and method
JPS62115579A (en) Graphic display device
JPH1124649A (en) Graph display, graph display method, and storage medium
JPH06333008A (en) Input device for designation of image contour
JPH08171646A (en) Graphic preparation device
JP2003085589A (en) Method and apparatus for processing graphic information
JPH01191928A (en) Data input device
JPH04330568A (en) Cad for pattern layout
JPH01233510A (en) Command deciding method
JPH06162155A (en) Graphic data generating device for display controller
JPH04180119A (en) Locus recognizing and function executing device
JPH06290226A (en) Graphic processor