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 PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000010586 diagram Methods 0.000 description 6
- 238000012797 qualification Methods 0.000 description 4
- 230000001788 irregular Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
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
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
Whether step 340 is in movably scope
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)
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)
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 |
-
2002
- 2002-12-24 CN CN 02157092 patent/CN1262974C/en not_active Expired - Fee Related
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 |