CN1262974C - System and method for limiting cursor movement range in arbitrary graphics - Google Patents

System and method for limiting cursor movement range in arbitrary graphics Download PDF

Info

Publication number
CN1262974C
CN1262974C CN 02157092 CN02157092A CN1262974C CN 1262974 C CN1262974 C CN 1262974C CN 02157092 CN02157092 CN 02157092 CN 02157092 A CN02157092 A CN 02157092A CN 1262974 C CN1262974 C CN 1262974C
Authority
CN
China
Prior art keywords
cursor
coordinate
range
analysis result
data
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 - Fee Related
Application number
CN 02157092
Other languages
Chinese (zh)
Other versions
CN1510642A (en
Inventor
刘文涵
宋建福
宋海燕
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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN 02157092 priority Critical patent/CN1262974C/en
Publication of CN1510642A publication Critical patent/CN1510642A/en
Application granted granted Critical
Publication of CN1262974C publication Critical patent/CN1262974C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The invention relates to a system and a method for limiting the cursor movement range in any graph, which utilize the system to read the graph coordinate, and after carrying out coordinate recognition on any point on the graph, classify the graph limiting range and the coordinate of a limiting boundary to prepare a coordinate analysis result, and define the limiting range and the limiting boundary coordinate as the cursor movable range to be compared with the coordinate value read by the actual position of the cursor to limit the cursor movable range; the system comprises a database, an identification unit, an input unit and a comparison unit; the method comprises the following steps: firstly, distinguishing coordinate values of all figures in a picture; then obtaining a coordinate analysis result according to the coordinate value; then when the coordinate value of the cursor is read, comparing the coordinate analysis result; and finally, after comparison and judgment, the moving range of the cursor is appointed.

Description

In arbitrary graphic, limit the System and method for of cursor moving range
Technical field
The present invention relates to a kind of System and method for that limits the cursor moving range, limit the System and method for of cursor moving range in particularly a kind of arbitrary graphic.
Background technology
In cursor qualification technology in the past, mainly be to utilize a function cursor of mouse to be limited within the scope of a rectangle, in the time of outside this rectangular extent is dropped in the position of cursor of mouse, system promptly can be adjusted to the position of this cursor of mouse within this rectangular extent.
Still have its shortcoming to exist for the method that this technology provided, promptly this function only can be limited to cursor of mouse within the rectangular area with regular shape, for various irregular figures (as polygon, concave edge type or convex-edge shape), must just can reach identical result by more complicated combination of function; But when this pattern is carried out, and in the partition process of graphics field, need consider the part of figure re-treatment, and how the zone that can not be divided into rectangle is filled or is reduced, the process of its computing is loaded down with trivial details, and the computing flow of data information also improves relatively; Therefore it is big more to work as whole figure, and the shortcoming of above-mentioned handling procedure more shape is outstanding and obvious.
Therefore for the science and technology now of seeking quickness, ask efficient,, its improved necessity is arranged for the shortcoming of conventional art.
Summary of the invention
Problem in view of above prior art existence, the invention provides a kind of System and method for that in arbitrary graphic, limits the cursor moving range, utilize system to read figure coordinate, and after the arbitrfary point on the figure carried out coordinate identification, the coordinate of figure limited range and limited boundary is classified, make the coordinate analysis result, and define this limited range and the limited boundary coordinate is the cursor mobile range, the coordinate figure that reads with the cursor physical location compares again, to limit the cursor mobile range.
The object of the present invention is to provide a kind of System and method for that in arbitrary graphic, limits the cursor moving range, utilize the operation of this method, reach the purpose that data reduction and operating speed improve.
Therefore for achieving the above object, the invention discloses a kind of system that limits the cursor moving range in arbitrary graphic, this system comprises:
One database is in order to store a figure;
One recognition unit defines a coordinate figure in order to the every bit at this figure that this database provided, and reads the range information and the boundary information of this figure, and a coordinate analysis result is provided;
One comparing unit is in order to compare a cursor coordinates value and this coordinate analysis result, to send an object information;
One reading unit is in order to provide this cursor coordinates value; And
Wherein utilize this object information to limit a moving range of a cursor.
The described system that in arbitrary graphic, limits the cursor moving range, wherein this coordinate analysis result comprise a coordinate figure, represent this figure range information first data and represent second data of the boundary information of this figure.
The described system that limits the cursor moving range in arbitrary graphic, wherein the coordinate figure of this cursor does not belong to these first data and this second data person after comparing to determine, and moves this cursor to the border of mobile range and moves.
Then include the following step as for method of the present invention: the coordinate figure of at first distinguishing all graphical dots in the picture; Then read the range information and the boundary information of figure; Defining this range information again and be first data and defining this boundary information is second data; And obtain a coordinate analysis result thus; Subsequently when reading the coordinate figure of cursor, the relatively range information of the coordinate figure of this cursor and this figure and boundary information; Through after comparing to determine, limit movably scope of this cursor at last.
Specifically, the present invention discloses a kind of method that limits the cursor moving range in arbitrary graphic, utilizes a range information of a figure and reading of a border information, and to obtain a coordinate analysis result, the process that this coordinate analysis result makes comprises the following steps:
Distinguish the coordinate figure of all figures of picture;
Read this range information and this boundary information of this figure;
Defining this range information is one first data;
Defining this boundary information is one second data; And
Make this coordinate analysis result.
The described method that limits the cursor moving range in arbitrary graphic, wherein this coordinate analysis result comprises a coordinate figure, one first data and one second data.
The described method that in arbitrary graphic, limits the cursor moving range, wherein determine the mobile range of cursor according to described range information and boundary information, after the coordinate figure of this cursor and this coordinate analysis result compare to determine, do not belong to these first data and this second data person, move this cursor to the border of mobile range and move.
The invention also discloses a kind of method that limits the cursor moving range in arbitrary graphic, utilize reading of a cursor coordinates value, carry out the moving range that relatively limits a cursor with a coordinate analysis result, this qualification method comprises the following steps:
This coordinate analysis result who reads this cursor coordinates value and obtain according to the range information and the boundary information of figure;
Relatively this cursor coordinates value and this coordinate analysis result; And
Judge that this cursor coordinates value belongs to first data of the range information of representing this figure and represents the second data person of the boundary information of this figure, is set at movably scope of this cursor.
About feature of the present invention and enforcement, conjunction with figs. and most preferred embodiment are described in detail as follows.
Description of drawings
Fig. 1 is a system architecture diagram of the present invention;
Fig. 2 is a relatively process flow diagram of cursor of the present invention;
Fig. 3 is a judgement cursor position process flow diagram of the present invention;
Fig. 4 is that the polygon of the embodiment of the invention limits figure; And
Fig. 5 is the coordinate analysis result of the embodiment of the invention.
Description of reference numerals
110 databases, 120 recognition units
130 reading units, 140 comparing units
Step 210 is distinguished coordinate figure
Step 220 reads the range information and the boundary information of figure
This range information of step 230 definition is first data
This boundary information of step 240 definition is second data
Step 250 obtains a coordinate analysis result
Step 310 reads the coordinate figure of cursor
Step 320 reads the coordinate analysis result of graphic making
Step 330 compares the coordinate figure of cursor and the range information and the boundary information of figure
Whether step 340 is in movably scope
Step 350 instructs cursor is in mobile range
Step 360 instructs cursor is moved the border to mobile range
Embodiment
A kind of System and method for that in arbitrary graphic, limits the cursor moving range, utilize system's reading to figure coordinate, and after the arbitrfary point on the figure carried out coordinate identification, coordinate at figure limited range and limited boundary is classified, make the coordinate analysis result, and define this limited range and the limited boundary coordinate is the cursor mobile range, coordinate figure that reads with the cursor physical location and aforementioned limited range and limited boundary compare again, to specify the cursor mobile range, utilize the operation of this method, to reach the purpose that data reduction and operating speed improve.
Therefore for achieving the above object, the present invention can be illustrated by System and method for two parts.
At system aspects referring to Fig. 1 system architecture diagram of the present invention.Mainly include: database 110, recognition unit 120, reading unit 130 and comparing unit 140.Database 110 is responsible for storing figure; Recognition unit 120, the every bit that the figure that provided at database 110 is provided defines coordinate figure, and the coordinate analysis result is provided; Comparing unit 140 is responsible for relatively cursor coordinates value and coordinate analysis result, to send object information; Reading unit 130 is in order to provide the cursor coordinates value; Wherein utilize object information to limit the moving range of cursor.
When the user uses when of the present invention, the picture that system is at first browsed at the user, in database 110, obtain the figure and the demonstration that meet this picture, after graphic presentation, recognition unit 120 promptly defines a coordinate figure at the every bit of this figure, and analyze this figure and whether have the localized area, then provide a coordinate analysis result if having, and this coordinate analysis result is mainly in order to provide the foundation that limits the cursor moving range.
After the coordinate analysis result sets up, as user during in this graphic picture operation, the coordinate figure of cursor position at any time can via reading unit 130 read and input system in, the coordinate figure that is transfused to is compared unit 140 and receives, and compare analysis with the coordinate analysis result who has before made, if the present position of this cursor exists among this coordinate analysis result, promptly control this cursor and in this limited range, move; If the present position of this cursor is in this coordinate analysis result, be about to move in the border that this cursor is controlled at this limited range.The cursor coordinates value that above-mentioned reading unit 130 is obtained, can utilize a mouse or a trace ball to provide, also can utilize a light pen or touch panel to provide, more can utilize a recreation light rifle or any device of cursor coordinates value that can provide to provide.
After the flow process of the basic framework of having introduced system aspects and each unit data running, then state method of operating of the present invention by Fig. 2 cursor comparison of the present invention process flow diagram.
At first the user is opening after any one limits picture, and coordinate figure (step 210) can preferentially be distinguished by system, to present unlatching and the graphic picture in browsing, carries out the coordinate of every bit in the picture and distinguishes; In having distinguished picture, after the coordinate of every bit, read the range information and the boundary information (step 220) of figure immediately, to determine the qualification moving range of this figure; Then according to the previous coordinate figure that obtains, defining this range information is first data (step 230); And defining this boundary information is second data (step 240); At this coordinate figure of arrangement and range information and boundary information, obtain a coordinate analysis result (step 250) at last.
When user's manipulable cursor, the coordinate of cursor position is promptly by providing the device of cursor coordinates value, input to one by one in the reading unit 130, shown in Fig. 3 judgement cursor position of the present invention process flow diagram, system is after reading the coordinate figure (step 310) of cursor, and the coordinate information that is about to obtain sends comparing unit 140 to; Comparing unit 140 promptly according to coordinate information that obtains and the coordinate analysis result (step 320) who reads graphic making at the beginning, compares coordinate figure and the range information of figure and the action of boundary information (step 330) of cursor at this moment; Judge whether this cursor is in movably scope (step 340); When this coordinate figure was in this coordinate analysis result, promptly instructs cursor was in mobile range (step 350); When this coordinate figure was not in this coordinate analysis result, promptly instructs cursor was moved the border (step 360) to mobile range.
Then operating process of the present invention is described by an embodiment, at first system is after reading a figure, except (polygon as Fig. 4 embodiment of the invention limits shown in the figure) this figure is presented, more the every bit in this figure is carried out the affirmation and the editor of coordinate, and make coordinate analysis result as Fig. 5 embodiment of the invention, afterwards when user's operational light timestamp, whenever read a coordinate figure and be about to this coordinate figure and this coordinate analysis result comparison, if this coordinate figure exists, represent that promptly this cursor can move in this coordinate points in this coordinate analysis result; If this coordinate figure when not existing, represents that promptly this cursor can not move in this coordinate points in this coordinate analysis result, and this cursor moved to the boundary of limited range move.
Though the present invention is open with aforesaid preferred embodiment; right its is not that any those of ordinary skills are not breaking away from the spirit and scope of the invention in order to qualification the present invention; change and retouching when doing some, therefore scope of patent protection of the present invention is as the criterion with claim.

Claims (9)

1.一种在任意图形中限定光标移动范围的系统,其特征在于,该系统包括:1. A system for limiting the range of movement of the cursor in arbitrary graphics, characterized in that the system comprises: 一数据库,用以储存一图形;a database for storing a graph; 一识别单元,用以针对该数据库所提供的该图形的每一点界定一坐标值,读取该图形的范围信息及边界信息,并提供一坐标分析结果;An identification unit, used for defining a coordinate value for each point of the graphic provided by the database, reading the range information and boundary information of the graphic, and providing a coordinate analysis result; 一比较单元,用以比较一光标坐标值与该坐标分析结果,以送出一结果信息;A comparing unit, used to compare a cursor coordinate value with the coordinate analysis result to send a result message; 一读取单元,用以提供该光标坐标值;及a reading unit for providing the cursor coordinate value; and 其中利用该结果信息限定一光标的一移动范围。Wherein the result information is used to limit a moving range of a cursor. 2.如权利要求1所述的在任意图形中限定光标移动范围的系统,其特征在于,该坐标分析结果包括一坐标值、代表该图形的范围信息的第一数据及代表该图形的边界信息的第二数据。2. The system for limiting the moving range of the cursor in any graphic as claimed in claim 1, wherein the coordinate analysis result includes a coordinate value, the first data representing the range information of the graphic and the boundary information representing the graphic of the second data. 3.如权利要求1所述的在任意图形中限定光标移动范围的系统,其特征在于,该光标的坐标值经比较判定后,不属于该第一数据及该第二数据者,挪移该光标至可移动范围的边界移动。3. The system for limiting the moving range of the cursor in any graphics as claimed in claim 1, wherein the coordinate value of the cursor is compared and judged, and if the coordinate value of the cursor does not belong to the first data and the second data, the cursor is moved. Move to the boundary of the movable range. 4.一种在任意图形中限定光标移动范围的方法,利用一图形的一范围信息及一边界信息的读取,以得到一坐标分析结果,其特征在于,该坐标分析结果制作的过程包括下列步骤:4. A method for limiting the range of movement of the cursor in arbitrary graphics, utilizing a range of information and reading of a boundary information of a graphic to obtain a coordinate analysis result, characterized in that the process of making the coordinate analysis result includes the following step: 辨别一画面所有图形的坐标值;Identify the coordinate values of all graphics in a screen; 读取该图形的该范围信息及该边界信息;Read the range information and the boundary information of the graphic; 定义该范围信息为一第一数据;defining the scope information as a first data; 定义该边界信息为一第二数据;及defining the boundary information as a second data; and 制成该坐标分析结果。Create this coordinate analysis result. 5.如权利要求4所述的在任意图形中限定光标移动范围的方法,其特征在于,该坐标分析结果包括一坐标值、一第一数据及一第二数据。5. The method for limiting the moving range of the cursor in any graph as claimed in claim 4, wherein the coordinate analysis result includes a coordinate value, a first data and a second data. 6.如权利要求4所述的在任意图形中限定光标移动范围的方法,其特征在于,根据所述范围信息与边界信息确定光标的可移动范围,经该光标的坐标值与该坐标分析结果比较判定后,不属于该第一数据及该第二数据者,挪移该光标至可移动范围的边界移动。6. The method for limiting the moving range of the cursor in any graphic as claimed in claim 4, wherein the movable range of the cursor is determined according to the range information and boundary information, and the coordinate value of the cursor and the coordinate analysis result After comparing and judging, if the data does not belong to the first data and the second data, move the cursor to the boundary of the movable range. 7.一种在任意图形中限定光标移动范围的方法,利用一光标坐标值的读取,进行与一坐标分析结果的比较来限定一光标的移动范围,其特征在于,该限定方法包括下列步骤:7. A method for limiting the range of movement of the cursor in arbitrary graphics, utilizing the reading of a cursor coordinate value, and comparing with a coordinate analysis result to limit the range of movement of a cursor, characterized in that the limiting method comprises the following steps : 读取该光标坐标值及根据图形的范围信息和边界信息得到的该坐标分析结果;Read the cursor coordinate value and the coordinate analysis result obtained according to the range information and boundary information of the graph; 比较该光标坐标值及该坐标分析结果;及comparing the cursor coordinate value with the coordinate analysis result; and 判定该光标坐标值属于代表该图形的范围信息的第一数据及代表该图形的边界信息的第二数据者,设定为该光标可移动的范围。It is determined that the cursor coordinate value belongs to the first data representing the range information of the graphic and the second data representing the boundary information of the graphic, and is set as the movable range of the cursor. 8.如权利要求7所述的在任意图形中限定光标移动范围的方法,其特征在于,该坐标分析结果包括一坐标值、该第一数据及该第二数据。8. The method for limiting a moving range of the cursor in any graph as claimed in claim 7, wherein the coordinate analysis result includes a coordinate value, the first data and the second data. 9.如权利要求7所述的在任意图形中限定光标移动范围的方法,其特征在于,该光标的坐标值经比较判定后,不属于该第一数据及该第二数据者,挪移该光标至可移动范围的边界移动。9. The method for limiting the moving range of the cursor in any graphic as claimed in claim 7, wherein, after the coordinate values of the cursor are compared and judged, if the cursor does not belong to the first data and the second data, the cursor is moved Move to the boundary of the movable range.
CN 02157092 2002-12-24 2002-12-24 System and method for limiting cursor movement range in arbitrary graphics Expired - Fee Related CN1262974C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02157092 CN1262974C (en) 2002-12-24 2002-12-24 System and method for limiting cursor movement range in arbitrary graphics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02157092 CN1262974C (en) 2002-12-24 2002-12-24 System and method for limiting cursor movement range in arbitrary graphics

Publications (2)

Publication Number Publication Date
CN1510642A CN1510642A (en) 2004-07-07
CN1262974C true CN1262974C (en) 2006-07-05

Family

ID=34236484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02157092 Expired - Fee Related CN1262974C (en) 2002-12-24 2002-12-24 System and method for limiting cursor movement range in arbitrary graphics

Country Status (1)

Country Link
CN (1) CN1262974C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4973711B2 (en) 2009-09-28 2012-07-11 ブラザー工業株式会社 Processing execution device
CN102033622B (en) * 2009-09-29 2013-07-10 北大方正集团有限公司 Cursor moving method for interactive formula and control device thereof
CN102033691B (en) * 2009-09-30 2013-01-30 北大方正集团有限公司 Cursor position prompting method and device
JP6508173B2 (en) * 2016-11-25 2019-05-08 トヨタ自動車株式会社 Vehicle display device
CN109491568B (en) * 2018-12-28 2021-09-28 深圳开立生物医疗科技股份有限公司 Mouse event processing method, device and equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN1510642A (en) 2004-07-07

Similar Documents

Publication Publication Date Title
US7340077B2 (en) Gesture recognition system using depth perceptive sensors
CN1218274C (en) On-line handwrited script mode identifying editing device and method
US9959463B2 (en) Gesture recognition system using depth perceptive sensors
CN1445654A (en) Hand-write input discriminator, method and medium for storing hand-wirte input discriminating program
CN1517904A (en) Ink marking device and associated application programmed interface
CN1704966A (en) Method for detecting pornographic images
WO2004111934A2 (en) Segmentation and data mining for gel electrophoresis images
CN1908939A (en) Method and system for controlling a display on a data editing screen
CN1619576A (en) System and method for detecting a hand-drawn object in electronic ink input
CN1257477C (en) Text editing device and method
CN1110759C (en) Information processing method and apparatus
CN1255720C (en) Display screen of data processing system containing image-converting zone
CN1262974C (en) System and method for limiting cursor movement range in arbitrary graphics
CN1315024C (en) Video recognition input system
CN1317664C (en) Method for building random stroke database and online handwritten Chinese character recognition evaluation system
CN1122928A (en) Information processing method and apparatus
CN1808465A (en) Evaluation method and system for face detection system
CN1151429C (en) Method and system for generating global hit test data structure using scan line compression of windows in graphical user interface
CN1110018C (en) Eigenvalue extracting method and equipment, storage medium for memory image parser
CN1320456C (en) Automatic forming method for intelligent instrument interface
CN1521660A (en) Method for forming hand-written texts and storage method thereof
CN111860661A (en) Data analysis method and device based on user behavior, electronic equipment and medium
CN100343854C (en) Method for quick completing port connection using graphic interface
CN1664820A (en) Hierarchical Image Taxonomy
CN1154959C (en) System and method for edge covering processing of graphics and characters

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060705

Termination date: 20101224