CN114924685A - Writing interaction method and device and writing terminal - Google Patents
Writing interaction method and device and writing terminal Download PDFInfo
- Publication number
- CN114924685A CN114924685A CN202210469995.0A CN202210469995A CN114924685A CN 114924685 A CN114924685 A CN 114924685A CN 202210469995 A CN202210469995 A CN 202210469995A CN 114924685 A CN114924685 A CN 114924685A
- Authority
- CN
- China
- Prior art keywords
- writing
- track
- segmentation
- erasing
- points
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000003993 interaction Effects 0.000 title claims abstract description 25
- 230000011218 segmentation Effects 0.000 claims abstract description 158
- 238000012217 deletion Methods 0.000 claims description 6
- 230000037430 deletion Effects 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 9
- 230000002452 interceptive effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/32—Digital ink
- G06V30/333—Preprocessing; Feature extraction
- G06V30/347—Sampling; Contour coding; Stroke extraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/32—Digital ink
- G06V30/36—Matching; Classification
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Processing Or Creating Images (AREA)
Abstract
The specification provides a writing interaction method, a writing interaction device and a writing terminal, and relates to the technical field of electronics. A writing interaction method, comprising: acquiring a writing track and an erasing track; determining a segmentation endpoint on the writing track according to at least one intersection position of the writing track and the erasing track, wherein the segmentation endpoint is a point which is located on the writing track and is closest to the erasing track; segmenting the writing tracks according to segmentation end points to form at least two segmentation tracks; and determining the selected segmentation track based on the selection operation. Based on the method, the complexity of the interaction of the writing terminal can be reduced.
Description
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a writing interaction method and apparatus, and a writing terminal.
Background
With the development of electronic technology, the terminal gradually changes from button operation to touch operation. In touch operation, writing operation and circle selection operation are common operation modes. When using an interactive whiteboard, the written lines may be erased after writing, and in the existing erasing process, the written lines are actually covered by transparent (or white) erasing lines.
However, in the case of the overlay method, since the written line still exists, when a part of the erased line is selected, the written line is selected in its entirety. Afterwards, the writing lines and the erasing lines are separated when dragging, so that erasing failure is caused, if part of the writing lines needs to be cleared, the operation needs to be carried out again, and the complexity of the interactive whiteboard operation is increased.
Disclosure of Invention
In order to overcome the problems in the related art, the present specification provides a writing interaction method, a writing interaction apparatus, and a writing terminal.
In combination with the first aspect of the embodiments of the present specification, the present application provides a writing interaction method, including:
acquiring a writing track and an erasing track;
determining a segmentation endpoint on the writing track according to at least one intersection position of the writing track and the erasing track, wherein the segmentation endpoint is a point which is located on the writing track and is closest to the erasing track;
segmenting the writing tracks according to segmentation end points to form at least two segmentation tracks;
and determining the selected segmentation track based on the selection operation.
Optionally, the writing track comprises a plurality of writing points;
determining a segmentation endpoint on the writing track according to the intersection position of the writing track and the erasing track, wherein the segmentation endpoint comprises the following steps:
determining at least one intersection position of the writing track and the erasing track;
for an intersection position, two writing points closest to the intersection position are used as segmentation end points on two sides of the erasing track.
Optionally, the writing track comprises a plurality of writing points;
determining a segmentation endpoint on the writing track according to the intersection position of the writing track and the erasing track, wherein the segmentation endpoint comprises the following steps:
determining at least one intersection position of the writing track and the erasing track;
and generating two writing points as segmentation end points on the writing tracks at two sides of the erasing track aiming at one intersection position.
Further, segmenting the writing track according to the segmentation end points to form at least two segmentation tracks, including:
clearing writing lines corresponding to the writing tracks between the segmentation end points, wherein the writing lines are graphs formed on the basis of the writing tracks;
forming at least two segmentation tracks based on the segmentation end points and the writing points in the writing tracks;
and aiming at one segmentation track, associating the writing lines which correspond to the segmentation track and are formed after the deletion.
Further, determining the selected slicing trajectory based on the selection operation includes:
acquiring a selection range formed by selection operation;
calculating the coverage range of the segmentation track based on the writing points and the segmentation end points contained in the segmentation track;
and aiming at one segmentation track, if the selection range is intersected with the coverage range of the segmentation track, determining that the segmentation track is selected.
In combination with the second aspect of the embodiments of the present specification, the present application provides a writing interaction apparatus, comprising:
the acquisition unit is used for acquiring a writing track and an erasing track;
the track unit is used for determining a segmentation endpoint on the writing track according to at least one intersection position of the writing track and the erasing track, wherein the segmentation endpoint is a point which is positioned on the writing track and is closest to the erasing track;
the processing unit is used for segmenting the writing tracks according to the segmentation end points to form at least two segmentation tracks;
and the selection unit is used for determining the selected segmentation track based on the selection operation.
Optionally, the writing track comprises a plurality of writing points;
a trajectory unit comprising:
the intersection determining module is used for determining at least one intersection position of the writing track and the erasing track;
and the point determining module is used for regarding one intersection position, and taking two writing points closest to the intersection position as segmentation end points on two sides of the erasing track.
Optionally, the writing track comprises a plurality of writing points;
a trajectory unit comprising:
the intersection determining module is used for determining at least one intersection position of the writing track and the erasing track;
and the point determining module is used for generating two writing points on the writing tracks at two sides of the erasing track as segmentation end points aiming at one intersection position.
Further, a processing unit comprising:
the clearing module is used for clearing writing lines corresponding to the writing tracks between the segmentation end points, wherein the writing lines are graphs formed on the basis of the writing tracks;
the segmentation module is used for forming at least two segmentation tracks based on the segmentation end points and the writing points in the writing tracks;
and the association module is used for associating the writing lines which correspond to the segmentation tracks and are formed after the deletion aiming at one segmentation track.
Further, the selection unit includes:
the range determining module is used for acquiring a selection range formed by the selection operation;
the coverage determining module is used for calculating the coverage range of the segmentation track based on the writing points and the segmentation end points contained in the segmentation track;
and the selection module is used for determining that the segmentation track is selected if the selection range is intersected with the coverage range of the segmentation track aiming at the segmentation track.
In combination with a third aspect of embodiments herein, there is provided a writing terminal comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: implementing any of the method steps described above.
In connection with a fourth aspect of embodiments herein, there is provided a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to: implementing any of the above method steps.
The technical scheme provided by the implementation mode of the specification can have the following beneficial effects:
in the implementation mode of the specification, the segmentation end points positioned on two sides of the erasing track are determined through the intersection positions of the writing track and the erasing track, at least two segmentation tracks are formed by segmenting the writing track based on the segmentation end points, so that a user can select any one track from the segmentation tracks to operate when selecting operation is carried out, the original mode of covering the writing line is avoided, the writing line is selected and operated, the erasing line and the writing line are separated, the repeated erasing operation is not required to be carried out, and the complexity of the writing terminal operation is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the specification.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with this specification and, together with the description, serve to explain the principles of the specification.
FIG. 1 is a flow chart of a writing interaction method according to an embodiment of the present application;
FIG. 2 is a diagram illustrating a writing track and an erasing track in a writing interaction method according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a method for writing interaction according to an embodiment of the present application, where two segmentation end points are determined based on an intersection position X;
FIG. 4 is a schematic diagram illustrating a determination of two segmentation end points based on an intersection position in a writing interaction method according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a method for determining multiple intersection positions in a writing interaction method according to an embodiment of the present application;
FIG. 6 is a diagram illustrating a writing trajectory being truncated in a writing interaction method according to an embodiment of the present application;
FIG. 7 is a diagram illustrating a writing trajectory being cut off in a writing interaction method according to an embodiment of the present application;
FIG. 8 is a partially enlarged view of an erased writing line in a writing interaction method according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a circle bar in a writing interaction method according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a writing interaction device according to an embodiment of the present application;
fig. 11 is a schematic configuration diagram of a writing terminal according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present description.
The application provides a writing interaction method, as shown in fig. 1, including:
and S100, acquiring a writing track and an erasing track.
On the writing terminal, a user can select a writing tool for writing through a finger, a touch pen, a laser display pen or the like. After writing, a plurality of nodes are formed along the path, the path formed by connecting the nodes is called a writing path, and the nodes on the subsequent writing path are called writing points. Based on the writing operation and the writing track, a writing line can be generated on the writing terminal through calculation, the writing line can be understood as a graph superposed on the writing track, and the writing line is closer to the actual writing operation relative to the writing track. The writing lines reflect complete writing operation, the line thickness of a pen selected for the writing operation, line thickness change according to writing force and the like are included, and the writing track reflects the trend of the writing operation through writing points.
When a user needs to erase the formed writing line on the writing terminal, the erasing tool can be switched to the erasing tool in the writing terminal for erasing. When erasing, an erasing track is formed, which is similar to the writing track, the erasing track comprises a plurality of nodes, and the nodes on the subsequent erasing track are called erasing points.
In the process of obtaining the writing track and the erasing track, the coordinates of the writing point and the erasing point on the writing terminal are needed to be obtained, the writing track is determined according to the writing point, and the erasing track is determined according to the erasing point. For example, the writing track formed in fig. 2 includes 6 writing points (represented by black dots), which are respectively W1(100 ), W2(150, 110), W3(200, 110), W4(250, 110), W5(300, 105), and W6(350, 105), and a writing line a is formed by connecting the 6 writing points, and in order to erase the writing track, an erasing track is further formed in fig. 2, which includes 5 erasing points (represented by white dots), which are respectively E1(260, 200), E2(245, 150), E3(225, 112), E4(210, 100), and E5(190, 90), and an erasing line B is formed by connecting the 5 erasing points.
S101, determining a segmentation endpoint on the writing track according to at least one intersection position of the writing track and the erasing track.
From the writing trace a and the erasing trace B, the coordinates of the intersection position X can be calculated (224, 110). Based on the coordinates of this intersection position X, at least two division end points can be determined on the writing trajectory a, the division end points being the points located closest to the erasing trajectory B on the writing trajectory a.
It should be noted that the segmentation end point may be selected according to different situations.
Mode 1:
step S101, determining a segmentation endpoint on a writing track according to the intersection position of the writing track and an erasing track, and the method comprises the following steps:
S101A, determining at least one intersection position of the writing track and the erasing track.
Since the writing track may be a straight line or a bent line, the erasing track may have one or more intersecting positions with the writing track. As shown in fig. 2 and 3, there is an intersection position X between the erasing trace B and the writing trace.
S101B, regarding one intersection position, on both sides of the erasure locus, two writing points closest to the intersection position are used as division end points.
In this case, for each intersection position, a corresponding segmentation end point may be calculated, which may be understood as a group of segmentation end points, one group including two segmentation end points, may be determined for one intersection position. For example, as shown in fig. 2, of the writing points already included in the writing track a, two writing points closest to the erasing track B may be found on both sides of the erasing track B as the dividing endpoints, i.e., the writing points W3 and W4 as the two dividing endpoints.
Mode 2:
step S101, determining a segmentation endpoint on a writing track according to the intersection position of the writing track and an erasing track, and the method comprises the following steps:
S101C, determining at least one intersection position of the writing track and the erasing track.
S101D, for one intersection position, two writing points are generated as division end points on the writing tracks on both sides of the erasing track.
For example, as shown in fig. 2 and 4, two writing points W7(220, 110) and W8(228, 110) located on the writing path may be calculated as the division end points on both sides of the erasing path B.
In addition, as shown in fig. 5, there are a plurality of intersection positions between the erasing trajectory D and the writing trajectory C, that is, two intersection positions Y, Z. For each intersection location, a set of (two) segmentation end points may be calculated (or determined). Since the process of determining the segmentation end points by a plurality of intersection positions is similar to that of determining the segmentation end points by one intersection position, the description is made by the fact that one intersection position exists between the writing track and the erasing track.
And S102, segmenting the writing tracks according to the segmentation end points to form at least two segmentation tracks.
After the segmentation end points are determined, the writing tracks can be processed according to the segmentation end points to form at least two segmentation tracks. The splitting track refers to a track formed by taking a splitting endpoint as an end node.
Specifically, step S102 is to split the writing trajectory according to the split endpoints to form at least two splitting trajectories, including:
and S102A, clearing the writing lines corresponding to the writing tracks between the segmentation end points.
S102B, forming at least two segmentation tracks based on the segmentation end points and the writing points in the writing tracks.
The writing lines are graphs formed on the basis of the writing tracks. When the writing line is cleared, the writing line between the two segmentation end points can be directly removed.
In the mode 1, that is, as shown in fig. 2 and 3, the written line between the division end points W3 and W4 is removed. After that, one writing track a needs to be split based on the splitting endpoints, so that it becomes two tracks, for example, the split tracks formed after the splitting are the splitting tracks a1 and a2 shown in fig. 6.
In the case of mode 2, that is, as shown in fig. 2 and 4, the written line between the segmentation end points W7 and W8 is removed. After that, one writing track a needs to be split based on the splitting endpoints, so that it becomes two tracks, for example, the split tracks formed after the splitting are the splitting tracks A3 and a4 shown in fig. 7.
Compared with the mode 1, the mode 2 has the advantages that the segmentation end points in the mode 2 are closer to the erasing track B by a method of generating the segmentation end points closer to the erasing track, so that writing lines removed by the erasing operation are fewer, and the accuracy of the erasing operation can be reflected.
In addition, since the writing line and the erasing line corresponding to the erasing track have a certain width, the edges of the erasing line and the writing line need to be considered in addition to the intersection position of the erasing track and the writing track when the erasing operation is performed. For example, as shown in fig. 8, the edge positions of the erasing line and the writing line include four, which are X1, X2, X3, and X4, respectively, and a space surrounded by the four edge positions is a portion where the erasing line and the writing line overlap, and the space is an erasing range. When erasing, the writing lines within the erasing range are erased. Therefore, the loss of the erasing to the writing lines can be reduced to a large extent, and the accuracy of the erasing operation is improved.
S102C, aiming at one segmentation track, associating the writing lines formed after the deletion corresponding to the segmentation track.
After the writing track a is split into the splitting tracks, in order to be able to select and operate the writing lines, the splitting tracks need to be associated with the corresponding writing lines. As shown in fig. 6, the slicing trajectory a1 is associated with the writing line on the left side of the erasing trajectory B, the slicing trajectory a2 is associated with the writing line on the right side of the erasing trajectory B, as shown in fig. 7, the slicing trajectory A3 is associated with the writing line on the left side of the erasing trajectory B, and the slicing trajectory a4 is associated with the writing line on the right side of the erasing trajectory B. Through the association, two writing lines which can be independently operated are formed.
And S103, determining the selected segmentation track based on the selection operation.
After the writing track is segmented into the segmentation tracks and is associated with the segmented writing lines, a user can select any one of the segmentation tracks to operate based on selection operation, so that independent operation on each erased writing line is realized.
The selection operation can be a click operation or a range operation, wherein the click operation refers to that a click of the user on the writing terminal falls into a writing track, the range operation refers to that the user performs circle selection on the writing terminal, and the writing track formed by a plurality of writing points falls into a selection range formed by the circle selection.
Specifically, step S103, determining the selected slicing trajectory based on the selection operation, includes:
s103, 103A, obtaining a selection range formed by the selection operation.
As described below in connection with mode 2, as shown in FIG. 9, the writing terminal may obtain a selection range S formed by a plurality of nodes S1-S4 circled by the user. Because the circle selection has a certain ambiguity, in order to improve the reliability of the circle selection and avoid the problem of selection null, the selection range S may be a rectangular space formed by a plurality of nodes S1-S4. Because the selection line has a certain width, the rectangular space can be formed by enclosing the positions of the outer edges of a plurality of nodes S1-S4.
S103B, calculating the coverage of the slicing trajectory based on the writing points and the slicing endpoints included in the slicing trajectory.
S103C, aiming at one segmentation track, if the selection range is intersected with the coverage range of the segmentation track, the segmentation track is determined to be selected.
For a segmentation track formed by segmenting a writing track by a user, the coverage of the segmentation track can be calculated based on writing points and segmentation end points contained in the segmentation track. In a case where the line width is 2, as shown in fig. 9, for a coverage range D formed by three writing points W1(100 ), W2(150, 110), W3(200, 110) and one segmentation end point W7(220, 110) of the segmentation locus a3 and a selection range S formed by a plurality of nodes S1(60, 60), S2(120, 70), S3(130 ) and S4(70, 120), it can be known from coordinate operations that the two overlap in the T range. That is, the selection range S enables the cut locus A3 to be selected, and disables the cut locus a4 to be selected.
Of course, the line width is not necessary, and whether a segmentation track is selected or not can be judged by directly determining the range by the writing point, the segmentation end point and the circled node, and the object circled by the user can be more reliably hit by increasing the value of the line width to realize the selection operation.
Correspondingly, the present application provides a writing interaction device, as shown in fig. 10, including:
the acquisition unit is used for acquiring a writing track and an erasing track;
the track unit is used for determining a segmentation endpoint on the writing track according to at least one intersection position of the writing track and the erasing track, wherein the segmentation endpoint is a point which is positioned on the writing track and is closest to the erasing track;
the processing unit is used for segmenting the writing tracks according to the segmentation end points to form at least two segmentation tracks;
and the selection unit is used for determining the selected segmentation track based on the selection operation.
Optionally, the writing track comprises a plurality of writing points;
a trajectory unit comprising:
the intersection determining module is used for determining at least one intersection position of the writing track and the erasing track;
and the point determining module is used for regarding one intersection position, and taking two writing points closest to the intersection position as segmentation end points on two sides of the erasing track.
Optionally, the writing track comprises a plurality of writing points;
a trajectory unit comprising:
the intersection determining module is used for determining at least one intersection position of the writing track and the erasing track;
and the point determining module is used for generating two segmentation end points on the writing tracks at two sides of the erasing track aiming at one intersection position.
Further, a processing unit comprising:
the clearing module is used for clearing writing lines corresponding to the writing tracks between the segmentation end points, wherein the writing lines are graphs formed on the basis of the writing tracks;
the segmentation module is used for forming at least two segmentation tracks based on the segmentation end points and the writing points in the writing tracks;
and the association module is used for associating the segmentation track and the writing line which corresponds to the segmentation track and is formed after the deletion aiming at the segmentation track.
Further, the selection unit includes:
the range determining module is used for acquiring a selection range formed by the selection operation;
the coverage determining module is used for calculating the coverage range of the segmentation track based on the writing points and the segmentation end points contained in the segmentation track;
and the selection module is used for determining that the segmentation track is selected if the selection range is intersected with the coverage range of the segmentation track aiming at the segmentation track.
Accordingly, the present application provides a writing terminal, as shown in fig. 11, comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: implementing any of the above method steps.
The writing terminal may be a conference terminal, a projector, an interactive whiteboard, etc., without limitation.
Accordingly, the present application provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to: implementing any of the above method steps.
The technical scheme provided by the implementation mode of the specification can have the following beneficial effects:
in the implementation mode of the specification, the segmentation end points positioned on two sides of the erasing track are determined through the intersection positions of the writing track and the erasing track, and at least two segmentation tracks are formed by segmenting the writing track based on the segmentation end points, so that a user can select any one track from the segmentation tracks to operate when selecting operation is carried out, the original mode of covering the writing line is avoided, the writing line is selected and operated, the erasing line and the writing line are separated, repeated erasing operation is not required to be carried out, and the complexity of writing terminal operation is reduced.
It will be understood that the present description is not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof.
The above description is only for the purpose of illustrating the preferred embodiments of the present disclosure and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.
Claims (12)
1. A method of written interaction, comprising:
acquiring a writing track and an erasing track;
determining a segmentation end point on the writing track according to at least one intersection position of the writing track and the erasing track, wherein the segmentation end point is a point which is located on the writing track and is closest to the erasing track;
segmenting the writing track according to the segmentation end points to form at least two segmentation tracks;
and determining the selected segmentation track based on the selection operation.
2. The method of claim 1, wherein the writing trajectory comprises a plurality of writing points;
determining a segmentation end point on the writing track according to the intersection position of the writing track and the erasing track, wherein the determination comprises the following steps:
determining at least one intersection position of the writing track and the erasing track;
regarding one intersection position, two writing points closest to the intersection position are used as segmentation end points on two sides of the erasing track.
3. The method of claim 1, wherein the writing trajectory comprises a plurality of writing points;
determining a segmentation endpoint on the writing track according to the intersection position of the writing track and the erasing track, wherein the determination comprises the following steps:
determining at least one intersection position of the writing track and the erasing track;
and aiming at an intersection position, generating two writing points on the writing tracks at two sides of the erasing track as segmentation end points.
4. The method according to claim 2 or 3, wherein said slicing the writing trajectory according to the segmentation end points to form at least two slicing trajectories comprises:
clearing a writing line corresponding to the writing track between the segmentation end points, wherein the writing line is a graph formed on the basis of the writing track;
forming at least two segmentation tracks based on the segmentation end points and the writing points in the writing tracks;
and aiming at a segmentation track, associating the segmentation track with the writing line which corresponds to the segmentation track and is formed after the deletion.
5. The method of claim 4, wherein determining the selected slicing trajectory based on the selection operation comprises:
acquiring a selection range formed by the selection operation;
calculating the coverage range of the segmentation track based on the writing points and the segmentation end points contained in the segmentation track;
and aiming at a segmentation track, if the selection range is intersected with the coverage range of the segmentation track, determining that the segmentation track is selected.
6. A writing interaction device, comprising:
the acquisition unit is used for acquiring a writing track and an erasing track;
the track unit is used for determining a segmentation end point on the writing track according to at least one intersection position of the writing track and the erasing track, wherein the segmentation end point is a point which is positioned on the writing track and is closest to the erasing track;
the processing unit is used for segmenting the writing track according to the segmentation end points to form at least two segmentation tracks;
and the selection unit is used for determining the selected segmentation track based on the selection operation.
7. The apparatus of claim 6, wherein the writing trajectory comprises a plurality of writing points;
the track unit includes:
the intersection determining module is used for determining at least one intersection position of the writing track and the erasing track;
and the point determining module is used for regarding one intersection position, and taking two writing points closest to the intersection position as segmentation end points on two sides of the erasing track.
8. The apparatus of claim 6, wherein the writing trajectory comprises a plurality of writing points;
the track unit includes:
an intersection determination module for determining at least one intersection location of the writing trajectory and the erasing trajectory;
and the point determining module is used for generating two writing points on the writing tracks at two sides of the erasing track as segmentation end points aiming at one intersection position.
9. The apparatus according to claim 7 or 8, wherein the processing unit comprises:
the clearing module is used for clearing a writing line corresponding to the writing track between the segmentation end points, wherein the writing line is a graph formed on the basis of the writing track;
the segmentation module is used for forming at least two segmentation tracks based on the segmentation end points and the writing points in the writing tracks;
and the association module is used for associating the segmentation track and the writing line which corresponds to the segmentation track and is formed after the deletion aiming at the segmentation track.
10. The apparatus of claim 9, wherein the selection unit comprises:
the range determining module is used for acquiring a selection range formed by the selection operation;
the coverage determining module is used for calculating the coverage of the segmentation track based on the writing points and the segmentation end points contained in the segmentation track;
and the selection module is used for determining that one segmentation track is selected if the selection range is intersected with the coverage range of the segmentation track aiming at the one segmentation track.
11. A writing terminal comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: carrying out the method steps of any one of claims 1 to 5.
12. A machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to: carrying out the method steps of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210469995.0A CN114924685A (en) | 2022-04-30 | 2022-04-30 | Writing interaction method and device and writing terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210469995.0A CN114924685A (en) | 2022-04-30 | 2022-04-30 | Writing interaction method and device and writing terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114924685A true CN114924685A (en) | 2022-08-19 |
Family
ID=82805933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210469995.0A Pending CN114924685A (en) | 2022-04-30 | 2022-04-30 | Writing interaction method and device and writing terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114924685A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011044677A1 (en) * | 2009-10-15 | 2011-04-21 | Smart Technologies Ulc | Method and apparatus for drawing and erasing calligraphic ink objects on a display surface |
CN106502607A (en) * | 2016-10-19 | 2017-03-15 | 广州视睿电子科技有限公司 | Line segment erasing method and device |
CN112596661A (en) * | 2020-12-24 | 2021-04-02 | 广州视源电子科技股份有限公司 | Writing track processing method and device and interactive panel |
CN113610946A (en) * | 2021-08-03 | 2021-11-05 | 深圳市闪联信息技术有限公司 | Method for segmenting drawing handwriting by using eraser function |
CN114356204A (en) * | 2022-01-04 | 2022-04-15 | 掌阅科技股份有限公司 | Note processing method, electronic device and computer storage medium |
-
2022
- 2022-04-30 CN CN202210469995.0A patent/CN114924685A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011044677A1 (en) * | 2009-10-15 | 2011-04-21 | Smart Technologies Ulc | Method and apparatus for drawing and erasing calligraphic ink objects on a display surface |
CN106502607A (en) * | 2016-10-19 | 2017-03-15 | 广州视睿电子科技有限公司 | Line segment erasing method and device |
CN112596661A (en) * | 2020-12-24 | 2021-04-02 | 广州视源电子科技股份有限公司 | Writing track processing method and device and interactive panel |
CN113610946A (en) * | 2021-08-03 | 2021-11-05 | 深圳市闪联信息技术有限公司 | Method for segmenting drawing handwriting by using eraser function |
CN114356204A (en) * | 2022-01-04 | 2022-04-15 | 掌阅科技股份有限公司 | Note processing method, electronic device and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20060112346A1 (en) | System and method for directional focus navigation | |
US20040021644A1 (en) | Information processing device having detector capable of detecting coordinate values, as well as changes thereof, of a plurality of points on display screen | |
JP3199765B2 (en) | Composite image editor | |
KR101593727B1 (en) | Gesture detection zones | |
US7123770B2 (en) | Incremental system for real time digital ink analysis | |
US20110199297A1 (en) | Method and apparatus for drawing and erasing calligraphic ink objects on a display surface | |
US8405625B2 (en) | Method for detecting tracks of touch inputs on touch-sensitive panel and related computer program product and electronic apparatus using the same | |
JP2008250374A (en) | Handwriting determination device, method and program | |
JP2006235832A (en) | Processor, information processing method and program | |
JP2011034216A (en) | Selection object decision method, decision method for anteroposterior relation of object, and apparatus therefor | |
US7730400B2 (en) | Display unit with touch panel, method of controlling the same, and computer products | |
CN112596661A (en) | Writing track processing method and device and interactive panel | |
US20130120273A1 (en) | Apparatus and method for inputting | |
CN114924685A (en) | Writing interaction method and device and writing terminal | |
CN112146662B (en) | Method and device for guiding map building and computer readable storage medium | |
JP2011028399A (en) | Information processing apparatus, information processing program, recording medium, electronic equipment | |
CN112445380B (en) | Infrared touch control method, device and all-in-one machine | |
CN109491732A (en) | A kind of virtual control display methods, device and vehicle-carrying display screen | |
JP3454906B2 (en) | Navigation display method and apparatus | |
JP2009199456A (en) | Information processing device, display method, and program | |
JP2022083886A (en) | Working path determination device | |
JP2022092453A (en) | Information processing device and information processing method | |
CN111381755B (en) | Interface content switching method and device and storage medium | |
JP2021182303A (en) | Method for defining operation area, program for defining operation area, information processing device, and space display system | |
JP2004110217A (en) | Graphical user interface, program, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |