WO2022242013A1 - 笔迹擦除方法、装置、交互平板及存储介质 - Google Patents
笔迹擦除方法、装置、交互平板及存储介质 Download PDFInfo
- Publication number
- WO2022242013A1 WO2022242013A1 PCT/CN2021/122843 CN2021122843W WO2022242013A1 WO 2022242013 A1 WO2022242013 A1 WO 2022242013A1 CN 2021122843 W CN2021122843 W CN 2021122843W WO 2022242013 A1 WO2022242013 A1 WO 2022242013A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- touch
- point
- handwriting
- key
- information
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 150
- 230000002452 interceptive effect Effects 0.000 title claims abstract description 95
- 238000003860 storage Methods 0.000 title claims abstract description 15
- 230000004044 response Effects 0.000 claims abstract description 29
- 238000012360 testing method Methods 0.000 claims description 143
- 230000003068 static effect Effects 0.000 claims description 72
- 230000001788 irregular Effects 0.000 claims description 50
- 230000033001 locomotion Effects 0.000 claims description 49
- 239000013598 vector Substances 0.000 claims description 48
- 238000012545 processing Methods 0.000 claims description 27
- 238000010276 construction Methods 0.000 claims description 10
- 238000004458 analytical method Methods 0.000 claims description 7
- 230000003993 interaction Effects 0.000 claims description 5
- 238000012216 screening Methods 0.000 claims description 3
- 230000006872 improvement Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 25
- 230000008569 process Effects 0.000 description 24
- 238000004364 calculation method Methods 0.000 description 23
- 230000000694 effects Effects 0.000 description 22
- 230000015654 memory Effects 0.000 description 21
- 230000003287 optical effect Effects 0.000 description 14
- 238000005457 optimization Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 9
- 210000003811 finger Anatomy 0.000 description 8
- 230000001960 triggered effect Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 239000000306 component Substances 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 101100498818 Arabidopsis thaliana DDR4 gene Proteins 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 239000006059 cover glass Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000001802 infusion Methods 0.000 description 1
- 210000004932 little finger Anatomy 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012067 mathematical method Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000000877 morphologic effect Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect 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/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/04845—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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- 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/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/042—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
- G06F3/0428—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by sensing at the edges of the touch surface the interruption of optical paths, e.g. an illumination plane, parallel to the touch surface which may be virtual
-
- 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
-
- 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
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04808—Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen
Definitions
- the present application relates to the technical field of touch writing of electronic equipment, in particular to a handwriting erasing method, device, interactive tablet and storage medium.
- the touch frame is an important hardware component of the interactive tablet, which is mainly used to respond to the user's touch operation on the interactive tablet.
- Most of the touch frames used in the interactive panels on the market are non-high-precision touch frames.
- the defects of this type of non-high-precision touch frames are mainly manifested in: it is difficult to judge the type of writing pen; it is difficult to ensure that the same writing pen can be generated during writing.
- the touch area is the same; it is difficult to determine whether the touch medium is a writing pen or a finger or an eraser; it is also difficult to determine the touch rotation angle.
- the inventors found that there are currently the following defects: the software level of the interactive panel is difficult to maximize the use of the touch point information fed back by the touch frame, resulting in performance effects related to touch on the interactive panel (such as for the already formed The erasing effect when erasing the written handwriting) has not been significantly improved.
- the embodiment of the present application provides a handwriting erasing method and device, an interactive tablet and a storage medium, which improves the handwriting erasing effect on the interactive tablet.
- the embodiment of the present application provides a handwriting erasing method, which is applied to an interactive tablet, and the touch response accuracy of the touch frame equipped on the interactive tablet reaches a set accuracy range, and the method includes:
- Receive handwriting erasing instruction enter handwriting erasing mode, described handwriting erasing instruction is formed by the trigger of user;
- the handwriting to be erased in the interface is erased using an erasing geometry that matches the touch object;
- the erasing geometry matching the touch object is reflected by the touch area of the touch object acting on the display screen;
- the erasing geometry includes rounded rectangle, circle and any irregular figure.
- the obtaining the touch point information fed back through the touch frame includes:
- one touch point information corresponds to one touch point
- the touch point information includes: touch point coordinates, touch point height and width, and touch rotation angle.
- Each touch point information is processed so that each touch point information has a unified unit format and data structure.
- processing of each touch point information includes:
- the unit of each data information in the touch point information is converted into a unified set unit format
- the data structure corresponding to the set unit format is used to record the touch point information.
- the handwriting to be erased in the interface is erased using an erasing geometry that matches the touch object, including:
- the obtained touch point information is used to determine the erasing geometry matched by the touch object during the movement, and to determine the movement contour geometry formed by the pair of adjacent touch points during the movement under the erasing geometry, include:
- the key touch point information is touch point information of a touch point generated when the touch object first contacts with the display screen during movement ;
- a moving contour geometric figure formed by the pair of adjacent touch points relative to the erasing geometric form is determined.
- the rounded rectangle includes a rectangle and rounded corners with each vertex of the rectangle as the center;
- the determining the key geometric information of each touch point in the adjacent touch point pair relative to the erasing geometry by analyzing the touch point information corresponding to the adjacent touch point pair includes:
- each rounded corner in the first geometric figure to be constructed includes two key tangent points; each key tangent point is a corresponding tangent point when the rounded corner is connected with an adjacent rounded corner by a tangent.
- determining the moving contour geometric figure formed by the pair of adjacent touch points in the erasing geometric form includes:
- each of the key circular areas, each of the circumscribing rectangular areas, and the vertex-connected closed area forms a first moving contour figure formed by the pair of adjacent touch points relative to the rounded rectangle.
- analyzing each handwriting point included in the handwriting to be erased, performing a hit test on each of the handwriting points and the moving outline geometric figure, and determining the target handwriting to be erased that falls into the moving outline geometric figure include:
- the handwriting formed based on each handwriting point in the first target point set is determined as the target handwriting to be erased falling into the moving contour geometric figure.
- the first hit test of the handwriting point and each of the circumscribed rectangular areas includes:
- the second hit test between the handwriting point and each of the key circular areas includes:
- the method further includes:
- a hit test is performed between each handwriting point included in the handwriting to be erased and the static rounded rectangle, and the handwriting to be erased that falls into the static rounded rectangle is erased in the interface.
- the static rounded rectangle includes two static rectangular areas and four static circular areas;
- performing a hit test on each handwriting point included in the handwriting to be erased and the static rounded rectangle, and performing a hit test on the handwriting to be erased that falls into the static rounded rectangle in the interface Erase including:
- the handwriting point is hit-tested with two static rectangular areas and four circular areas respectively;
- the erasing geometry is a circle
- Key geometric information of the form including:
- touch point coordinates, touch width, and touch height in the touch point information corresponding to each touch point in the adjacent touch point pair determine the circle center coordinates and the key intersection coordinates of the corresponding second geometric figure to be constructed;
- the coordinates of the center of the circle corresponding to each touch point and the coordinates of each key intersection point are regarded as key geometric information relative to the second geometric figure to be constructed.
- Intersection coordinates including:
- Straight lines perpendicular to the line connecting the centers of the circles are respectively constructed through the coordinates of the centers of the circles, and the coordinates of the key intersection points determined after each straight line intersects with the corresponding second circle to be constructed are obtained.
- determining the moving contour geometric figure formed by the pair of adjacent touch points in the erasing geometric form includes:
- Each of the second geometric figures to be constructed is combined with the key intersection connection area to form a second moving contour figure formed by the pair of adjacent touch points relative to the circle.
- analyzing each handwriting point included in the handwriting to be erased, performing a hit test on each of the handwriting points and the moving outline geometric figure, and determining the target handwriting to be erased that falls into the moving outline geometric figure include:
- the handwriting formed based on each handwriting point in the second target point set is determined as the target handwriting to be erased falling into the moving contour geometric figure.
- performing the third hit test on the connection area between the handwriting point and the key intersection includes:
- the key intersection connection area is a rectangular area
- select two rectangular side vectors formed by a vertex from the rectangular area and perform the described step by comparing the handwriting point with each of the rectangular side vectors.
- a hit test between the handwriting point and the rectangular area otherwise,
- a hit test between the handwriting point and the rectangular area is performed by comparing the handwriting point with each of the edge vectors to be compared.
- the graphic representation information of each combined graphic and each key track point are regarded as key geometric information of the touch point relative to the third geometric figure to be constructed.
- determining the key track point existing on the third geometric figure to be constructed relative to the touch point and the graphic representation of the third geometric figure to be constructed information including:
- the third geometric figure to be constructed contains only polyline polygons
- the third geometric figure to be constructed includes a polyline polygon and a target circle
- the second graphical representation of the shape is the information.
- the determining the key trajectory point of the polyline polygon relative to the touch point through the corresponding touch point information, and obtaining the first graphic representation information representing the polyline polygon includes:
- touch point coordinates, touch height and touch width in the corresponding touch point information determine the polyline center point coordinates and each polyline vertex coordinates of the polyline polygon as the first graphic representation information;
- the key track points satisfying the filter condition of the track points are selected from the coordinates of the vertices of the polylines.
- the determining the key trajectory point from the polyline polygon and the key circle by using the corresponding touch point information, and obtaining the second graphic representation information representing the polyline polygon and the key circle includes:
- touch point coordinates, touch height and touch width in the corresponding touch point information determine the polyline center point coordinates and the polyline vertex coordinates of the polyline polygon, as well as the key circle center point coordinates and circle radius, and use them as the first 2.
- Graphic representation of information
- the coordinates of the center point of the polyline According to the coordinates of the center point of the polyline, the coordinates of the center point of the circle, the radius of the circle, and the corresponding touch point information, select key track points satisfying the screening conditions of track points from the circumference of the key circle and the coordinates of vertices of each of the polylines.
- determining the moving contour geometric figure formed by the pair of adjacent touch points relative to the erasing geometric form includes:
- the distance hit test is carried out by the distance method between the handwriting point and each described polyline polygon and the key circle;
- the handwriting point is added to the third target point set; otherwise, the handwriting point and the key track area are subjected to a vector hit test, and when the vector hit test is successful, the handwriting Points are added to a third set of target points;
- the handwriting formed based on each handwriting point in the third target point set is determined as the target handwriting to be erased falling into the moving contour geometric figure.
- the embodiment of the present application provides a handwriting erasing device, which is configured on an interactive tablet, and the touch response accuracy of the touch frame equipped on the interactive tablet reaches a set accuracy range, and the device includes:
- a display module configured to display a display interface containing handwriting to be erased through a display screen
- the trigger module is used to receive the handwriting erasing instruction and enter the handwriting erasing mode, and the handwriting erasing instruction is formed by triggering by the user;
- An acquisition module configured to acquire touch point information fed back through the touch frame when a touch object touches the surface of the display screen and moves, and the touch object is manipulated by the user;
- the erasing module is used for erasing the handwriting to be erased in the interface by using an erasing geometry that matches the touch object by analyzing the obtained touch point information and the handwriting to be erased.
- an interactive tablet including:
- the touch frame has a touch response accuracy that reaches the set accuracy range, and is used to respond to the touch operation of the touch object through the included hardware circuit;
- the display screen is covered with the touch frame to form a touch screen for displaying interactive content
- processors one or more processors
- the one or more processors are made to implement the method provided in the first aspect of the present application.
- the embodiment of the present application further provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute the method as described in the first aspect when executed by a computer processor.
- the handwriting erasing method, device, interactive panel and storage medium provided above.
- the proposed method can be executed by an interactive flat panel, and the touch response accuracy of the touch box equipped on the interactive flat panel reaches the set accuracy range; wherein the method can first display a display interface containing handwriting to be erased through the display screen; and then can receive the handwriting Erase command to enter the handwriting erasing mode; then when the touch object touches the surface of the display screen and moves, obtain the touch point information fed back through the touch frame; finally, the obtained touch point information and the For the analysis of the handwriting to be erased, the handwriting to be erased in the interface is erased using an erasing geometry that matches the touch object.
- the configured high-precision touch frame can be optimized by the method provided in this embodiment at the software application level.
- the method provided in this embodiment can ensure that the erasing response to the handwriting to be erased in the interface can better match the erasing geometry of the touch object used by the user , so as to realize the flexible adjustment of the erasing area during the erasing process, thereby realizing the improvement of erasing efficiency on the interactive tablet.
- Fig. 1 has provided the schematic flow chart of a kind of handwriting erasing method that embodiment one of the present application provides;
- Figure 1a is a diagram showing the effect of a touch frame responding to a touch object in a handwriting erasing method provided in Embodiment 1 of the present application;
- Fig. 1 b shows the effect diagram of the geometric form of erasing in the handwriting erasing method provided in the first embodiment of the present application
- Fig. 1c shows the effect display diagram of the moving contour geometric figure as the erasing area in the handwriting erasing method provided in the first embodiment of the present application;
- Fig. 2 has provided the schematic flow chart of a kind of handwriting erasing method that the application embodiment 2 provides;
- Fig. 2 a provides the effect display diagram of the handwriting erasing method provided by the second embodiment of the present application
- Fig. 2 b has provided a kind of implementation flow chart of erasing shape and outline figure determination in the handwriting erasing method provided in the second embodiment of the present application;
- Figures 2c to 2h show the schematic illustrations related to the determination of key geometric information when the erasing geometry in the handwriting erasing method provided in Embodiment 2 of the present application is a rounded rectangle;
- Fig. 2i-Fig. 2m show the relevant schematic diagrams for determining the key geometric information when the erasing geometric form in the handwriting erasing method provided in the second embodiment of the present application is a circle;
- Figure 2n shows the effect display diagram when the erasing geometry is any irregular figure in the handwriting erasing method provided in the second embodiment of the present application;
- Figures 2o to 2q show the relevant schematic diagrams for determining the key geometric information when the erasing geometry in the handwriting erasing method provided in the second embodiment of the present application is any irregular figure and only includes polyline geometric figures;
- Fig. 2r and Fig. 2s provide the relevant schematic diagrams for determining the key geometric information when the erasing geometry in the handwriting erasing method provided in the second embodiment of the present application is any irregular figure;
- Fig. 2 t has provided a kind of realization flowchart of target to be erased handwriting determination in the handwriting erasing method provided in the second embodiment of the present application;
- Fig. 3 and Fig. 4 have provided the schematic diagram of the hit test realization that is used when the erasing geometry form is a rounded rectangle in the handwriting erasing method provided in the second embodiment of the present application;
- Fig. 5 has provided another kind of implementation flow chart of target to be erased handwriting determination in the handwriting erasing method provided in the second embodiment of the present application;
- Fig. 6 and Fig. 7 have provided the schematic illustration figure wherein a kind of hit test realization that is used when erasing geometry form is circular in the handwriting erasing method provided in the second embodiment of the present application;
- Fig. 8 has provided another kind of realization flow chart that the target to be erased handwriting is determined in the handwriting erasing method provided in the second embodiment of the present application;
- Fig. 9 shows the effect display diagram of the static rounded rectangle in the handwriting erasing method provided in the second embodiment of the present application.
- Fig. 10 is a structural block diagram of a handwriting erasing device provided in Embodiment 3 of the present application.
- FIG. 11 is a schematic structural diagram of an interactive panel provided in Embodiment 4 of the present application.
- the hardware part of the interactive panel is composed of display screens, intelligent processing systems and other parts, which are combined by integral structural parts and supported by dedicated software systems.
- the display screen specifically may include a light emitting diode (Light Emitting Diode, LED) display screen, an organic electro-laser display (Organic Light-Emitting Diode, OLED) display screen, a liquid crystal display screen (Liquid Crystal Display, LCD) display screen, and the like.
- a touch frame can be formed to form a touch screen.
- the optical touch sensor constituting the touch frame can scan the touch object, such as a user's finger, a stylus, etc., on the surface of the display screen using light signals.
- the surface of the display screen refers to the cover plate of the display screen. glass surface.
- the touch frame can respond to the above touch operations and pass the corresponding touch operation information to the intelligent processing system at the application level, so that through intelligent processing
- the system implements various interactive applications.
- the optical touch sensor may include an infrared emitter and an infrared receiver.
- the infrared emitter is used to emit infrared signals
- the infrared receiver is used to receive infrared signals.
- the densely distributed infrared signals in different directions are used to form a beam grid to locate the touch point.
- the display screen is equipped with a frame with a circuit board, which is used to arrange infrared emitters and infrared receivers around the display screen to form a horizontal and vertical beam grid touch frame.
- the display screen has the above-mentioned touch frame
- the touch object blocks the infrared signal
- the light measurement value will be weakened at the corresponding infrared receiver, so the position of the touch point on the screen can be determined.
- the infrared transmitter is installed on the first side of the frame of the display screen
- the infrared receiver is installed on the second side of the frame of the display screen
- the first side is opposite to the second side, that is, the infrared receiver is on the side of the infrared transmitter.
- the infrared signal emitted by the infrared transmitter is received by the infrared receiver.
- the shape of the display screen is different, such as rectangle, hexagon, circle, etc.
- the shape of the frame also varies with the shape of the display screen, such as rectangle, hexagon, circle, etc.
- the settings of infrared emitters and infrared receivers in each infrared module are also different.
- the touch response precision possessed is usually within a conventional range.
- a non-high-precision touch frame whose touch response accuracy is in the conventional range, it may be difficult to recognize the size of the touch area of the touch object on the display screen. Therefore, in the touch writing mode, it is difficult to judge what the user uses. type of touch object to write, or it is difficult to judge what touch medium (finger, writing pen) the user uses to touch; Erasing is only done based on the conventional erasing form.
- it is difficult for a non-high-precision touch frame to ensure that the same type of touch object presents the same touch area during the touch process.
- the interactive panel in this embodiment adopts a high-precision touch frame with high touch response accuracy compared with a conventional touch frame whose touch response accuracy is within a conventional range.
- the touch response accuracy can be understood as the touch response accuracy has reached the set accuracy range, wherein the accuracy limit of the set accuracy range is higher than the conventional accuracy range.
- the touch frame adopted in this embodiment it can provide more detailed touch information to the upper layer application level, for example, it can provide the touch area of the touch object, more accurate coordinates of the touch point, and the touch object’s touch during the touch process. rotation angle etc.
- the intelligent processing system in the interactive whiteboard can include a host processor, which belongs to the processor of the interactive panel. Lively audio-visual effects.
- the host processor is a computing module with higher performance.
- the host processor can be an Android (Android) module, the Android (Android) system can be installed, and the CPU (Central Processing Unit, central processing unit), GPU (Graphics Processing Unit, graphics processing unit), RAM (random access memory, random access memory) and ROM (Read-Only Memory, read-only memory) and other components, for example, for Android7.0 version, CPU is dual-core A72 and quad-core A53, GPU is Mali T860, RAM is 4GB, ROM is 32GB, etc.
- Android Android
- CPU Central Processing Unit, central processing unit
- GPU Graphics Processing Unit, graphics processing unit
- RAM random access memory
- ROM Read-Only Memory, read-only memory
- other components for example, for Android7.0 version, CPU is dual-core A72 and quad-core A53, GPU is Mali T860, RAM is 4GB, ROM is 32GB, etc.
- the host processor can be a PC (personal computer, personal computer) module configured with components such as a CPU, GPU, memory, and hard disk.
- a PC personal computer, personal computer
- the CPU is an Intel Core i5 /i7
- the GPU is Intel HD Graphics
- the memory is DDR4 8G/16G
- the hard disk is 128G/256G.
- FIG. 1 shows a schematic flowchart of a handwriting erasing method provided in Embodiment 1 of the present application.
- This embodiment is applicable to the situation of erasing the handwriting existing in the interface in the erasing mode.
- the method can be executed by a handwriting erasing device, which can be implemented by software and/or hardware, and can be configured in an interactive panel, especially in a processor of an interactive panel, which can be an intelligent processing system. host processor.
- the touch response precision of the touch frame equipped in the interactive flat panel reaches the set precision range; in addition, the touch frame is also electrically connected with the display screen.
- a kind of handwriting erasing method that the embodiment 1 of the present application provides, specifically comprises the following steps:
- the execution subject of the method provided in this embodiment is also provided with a graphics processor (Graphics Processing Unit, GPU), which can provide video processing functions.
- the information of the device is placed into the frame memory, and the serial display data and scan control timing required by the display are generated for the video signal according to the partition driving method.
- the display screen set on the interactive panel can play frame data information according to the serial display data and scan control timing, thereby displaying various pictures on the display screen.
- the display interface can be regarded as the interface displayed on the display screen after the user writes or edits in the writing or editing mode.
- the element information presented on the display interface at least includes handwriting to be erased formed through user operations. It can be known that the handwriting to be erased can be the handwriting presented by the user in the writing mode, wherein the color, thickness, etc. of the handwriting can be selected by the user, and the presented handwriting style can also show the user's writing style.
- the display interface can be an independent interface.
- the interactive tablet provides an electronic whiteboard, and the user triggers a control operation to display the electronic whiteboard in the interactive tablet.
- the interactive tablet receives the control operation, displays the electronic whiteboard, and presents it as an element display interface.
- the display interface can also be an interface with a background.
- the interactive panel displays the local courseware, displays the information transmitted by the screen transfer device (USB Dongle, USB dongle), and belongs to the source device (such as a notebook computer, etc.).
- the user triggers the annotation operation on the interactive panel, and the interactive panel receives the annotation operation, freezes the data such as courseware and screen images, and makes them become the background, that is, maintains the current frame of displaying courseware, screen images, etc.
- a mask layer is generated on the data such as courseware, screen images, etc., so as to serve as the currently presented display interface.
- the so-called courseware can refer to the course documents made according to the requirements of teaching, after the determination of teaching objectives, the analysis of teaching content and tasks, the structure of teaching activities and the design of interface, etc.
- the courseware can be Word documents, PPT (PowerPoint, presentation) and other public format files may also be custom pages composed of text, tables, pictures and other elements, which is not limited in this embodiment.
- S102 Receive a handwriting erasing command and enter a handwriting erasing mode, where the handwriting erasing command is triggered by a user.
- the user can perform a trigger touch operation on the display screen, that is, on the displayed display interface.
- control touch is mostly used to trigger any button or icon in the display interface
- long-pressed touch is mostly used for dragging and dropping elements
- mobile touch is mostly used for writing or erasing handwriting.
- the representation of the trajectory is mostly used to trigger any button or icon in the display interface.
- control operations on the interactive flat panel display interface include but are not limited to touch operations, keyboard operations, mouse operations, and physical button operations.
- the operation of generating handwriting erasing instructions can also optionally use touch operations, Mouse operation and keyboard operation etc.
- the pre-operation of performing this step can be described as: the display interface includes a function button to enter the erasing mode, such as an erasing button, and the user touches the erasing button, and the touch box in the interactive panel responds Touch the touch signal of the touch operation, and feed back the touch information related to the touch signal to the upper layer of the interactive panel (such as the main processor in the intelligent processing system).
- this step can receive the handwriting erasing command generated by the upper layer, and enter the handwriting erasing mode in response to the handwriting erasing command.
- the handwriting erasing mode can be understood as that the interactive whiteboard has the authority to erase elements displayed in the display interface after this mode is started. That is, after entering the erasing mode, the handwriting presented in the writing mode on the display interface can be regarded as the erasing object, and has the authority to erase the erasing handwritings.
- the touch object may specifically be a user's finger, an active stylus or a passive stylus, etc., and the user may manipulate the touch object to move on the display surface of the interactive panel, wherein, when the touch object moves, the The displayed moving state can be used for erasing handwriting in the erasing mode.
- the touch object during erasing may be a dedicated physical eraser (such as a touch blackboard eraser) that matches the interactive tablet, or it may be a user's body part, such as a hand.
- the interactive panel is also equipped with a touch frame combined with the display screen, wherein the touch frame can specifically be composed of an optical touch sensor bezels nested at the edges of the display.
- the touch frame can generate a touch signal based on the included optical touch sensor when the touch object moves on the display screen, and identify corresponding touch point information through a response to the touch signal.
- FIG. 1a is a diagram showing the effect of a touch frame responding to a touch object in a handwriting erasing method provided in Embodiment 1 of the present application.
- one or more optical touch sensors 120 are installed on both sides of the edge of the display screen 110 of the interactive panel, forming a touch frame.
- the moving state of the touch object manipulated by the user for example, using the user's finger as the touch object required for erasing
- finger states 131 to 135 can be represented by finger states 131 to 135 .
- the processor can activate the optical touch sensor 120, and the optical touch sensor 120 scans the light signal on the display surface of the interactive tablet, and detects whether the display surface appears or not according to the transmission of the light signal.
- the touch object when the touch object is detected, generates a corresponding touch signal in real time during the movement of the touch object.
- the touch frame can respond to the generated touch signal, so as to feed back the touch point data identified after the response to the upper layer of the interactive panel (such as the main processor in the intelligent processing system).
- the touch point data is recorded is the touch point information.
- the touch frame used in this embodiment is a high-precision touch frame.
- the touch point information fed back by the touch frame in the above steps is superior to the touch point information fed back by the conventional touch frame in terms of accuracy and information detail.
- the touch point information that the touch frame feeds back to the upper layer of the interactive panel includes at least the touch point coordinates of the touch point, the touch point height and width of the touch signal generated by the touch object, and the touch area.
- the handwriting to be erased in the interface is erased using an erasing geometry that matches the touch object.
- the handwriting displayed on the display interface is referred to as the handwriting to be erased.
- the geometry of the eraser used for the erasing operation is often preset by the user, such as a circle or a rectangle ;
- the erasing size of the eraser can only be the same as the size of the eraser.
- the geometry of the eraser, especially the rotated shape of the eraser and the size of the eraser will not change due to changes in the shape or size of the touched object, and it often needs to be set artificially.
- this embodiment wants to realize the personalized erasing of the user's handwriting and improve the efficiency of handwriting erasing, it is necessary to obtain data information that can characterize the shape of the touch object used by the user, and then through the data information Processing, determine the erasing geometry that matches the touch object when erasing handwriting, and finally present the shape and size of the eraser according to the determined erasing geometry, and erase the handwriting to be erased through the presented eraser , thereby realizing the diversification of the geometric shapes of the eraser in the handwriting erasing operation, and at the same time improving the erasing efficiency of the handwriting erasing operation.
- the determination of the erasing geometry corresponding to the touch object mainly relies on the touch area of the touch point information. Touch areas of different sizes often correspond to different erasing geometries, that is, the touch
- the matching erasing geometry is reflected by the touch area of the touch object acting on the display screen; in this embodiment, the geometric figure matching the touch area can be determined through the analysis of the touch area in the touch point information, and the geometry Graphics are used as the erasing geometry corresponding to the touch object.
- the erasing geometry determined in this step may at least include three forms of circle, rounded rectangle and any irregular figure.
- the correspondence between the touch area and the erasing geometry is mainly determined according to the form and size of the touch area.
- the touch area in the touch point information can actually represent the covered area touched by the finger, and the shape of the touch area is close to a circle, so it can be considered that the erasing by using the touch object is Erase in a small area, so that a circle with an area equal to the touch area can be used as the erasing geometry of the touch object, and an eraser that presents the erasing geometry (circle) in the erasing mode can perform handwriting erasing.
- the touch area in the touch point information can actually represent the covered area touched by the back of the hand, and the shape of the touch area is close to a quadrilateral with rounded corners, it is considered that the touch is not performed.
- the erasing is a large-area erasing, so that a rounded rectangle with an area consistent with the area covered by the back of the hand can be formed as the erasing geometry of the touch object.
- the touch area in the touch point information can actually represent the coverage area touched by the fist wheel, and in this case the touch area presents
- the shape is more like a combination of two geometric figures, such as a polygon and a circle. Therefore, in this case, a combination of a polygon and a circle can be formed as the geometric shape of the touch object. This combination is It can be considered as any irregular figure.
- the touch frame usually feeds back the touch point information in one collection cycle, and the fed back touch point information often includes the data information of the touch points corresponding to the touch signals received in the collection cycle.
- the touch object In the erasing mode, during the process of erasing handwriting through the movement of the touch object on the display screen, the touch object is always in contact with the display screen, that is, the touch object does not leave the display screen, and the interactive tablet can be used during this process. Continuously erase handwriting by moving the touch object. Therefore, under the above premise, when determining the erasing geometry of the touch object, the touch area in all the touch point information is not required, only the touch point information of the touch point generated when the touch object contacts the display screen for the first time is needed. Yes, that is, in the process that the touch object does not leave the display screen, only one erasing geometric form needs to be determined relative to the touch object.
- the specific implementation process of erasing the handwriting to be erased according to the determined erasing geometric form is analyzed as follows: First, relative to the touch point generated on the touch frame at a certain moment of the touch object, it can all present the same Erase the eraser pattern that conforms to the geometric shape; secondly, considering that the touch object moves on the display screen by touch, that is, the eraser pattern formed above is also discrete and continuously presented.
- connection of the eraser pattern can form a continuous geometric closed figure, which is also equivalent to the moving contour geometric figure formed after the touch object moves; again, the formed moving contour geometric figure constitutes the area to be erased on the display interface , finally, each handwriting to be erased in the area to be erased can be determined, and erasure of these handwritings to be erased can be realized.
- Fig. 1b shows the effect diagram of the erasing geometry in the handwriting erasing method provided in the first embodiment of the present application, as shown in Fig. 1b, which includes A first eraser pattern 140 presented as a rounded rectangle, and a second eraser pattern 150 presented as a circle.
- Figure 1c shows the effect of the moving contour geometric figure as the erasing area in the handwriting erasing method provided in Embodiment 1 of the present application, as shown in Figure 1c
- FIG. 1c includes a moving contour geometry 160 formed when a rounded rectangle is used as the erasing geometry.
- this step it is necessary to construct the moving contour geometry during the movement of the touch object.
- the continuous moving contour geometry is actually equivalent to the area formed by each touch point in the form of erasing geometry. Therefore, for the determination of the geometric figure of the moving contour, it is actually only necessary to determine the figure formed by connecting the erased geometrical forms presented by two adjacent touch points.
- the formation methods of forming the moving contour geometric figures based on the adjacent erasing geometric forms are also different. In order to perform the erasing operation normally, this step needs to separate Carry out the construction of the corresponding mobile contour geometry.
- the geometric form of erasing is a rounded rectangle
- the graphical representation of two rounded rectangles can be determined, and then the two rounded rectangles can be Some points respectively selected above are expanded and connected, and thus the closed area formed by these two rounded rectangles is constructed as the corresponding moving contour geometry under the rounded rectangle.
- the geometric shape of the eraser is a circle
- the graphical representation of two circles can be determined, and then two circles can be selected on the two circles.
- the connection points are connected, and the closed area formed based on these two circles is constructed as the corresponding moving contour geometry under the circle.
- a handwriting erasing method provided in Embodiment 1 of the present application can be executed by an interactive tablet, and the touch response accuracy of the touch frame equipped on the interactive tablet reaches the set accuracy range;
- the execution subject of the method is equipped with a high-precision touch frame on the hardware structure, and can realize the function optimization at the software application level of the configured high-precision touch frame through the method provided in this embodiment.
- the method provided in this embodiment can ensure that the erasing response to the handwriting to be erased in the interface can better match the erasing geometry of the touch object used by the user, thereby realizing erasing
- the flexible adjustment of the erasing area during the erasing process improves the erasing efficiency on the interactive tablet.
- this optional embodiment may further include: processing each of the touch point information, so that each of the touch points Information has a unified unit format and data structure.
- the display operation of handwriting is mainly performed by the intelligent processing system on the upper layer of the interactive tablet, specifically, it can be executed by the host processor, and the touch point information required for the display of handwriting mainly comes from the hardware level of the interactive tablet. Touch the frame to provide feedback.
- the touch point information fed back by the touch frame can be regarded as the input information required by the upper layer.
- the execution parameters of the touch boxes are also different, which may lead to differences in the representation of the touch information fed back by the touch boxes, which will affect the handwriting erasing method normal execution.
- the information processing operation proposed in this optional embodiment is added on the basis of the first embodiment above.
- this optional embodiment can analyze the production information and batch information of the touch frame, determine the original information format of the touch point information fed back by the touch frame, and then process the unit format and data structure of the touch point information, Ensure that the data input to the upper layer of the interactive panel has a unified information format.
- the processed touch point information removes the unit format related to the touch frame manufacturer or batch.
- the touch area unit fed back in the touch point information in the original information format is basically based on the blocked optical trigger on the touch frame.
- the number of sensors is used as a touch width unit and a touch height unit, which can be converted into an abstract unit in unified software, such as a pixel unit, in this optional embodiment.
- each touch point information can be embodied as:
- the unit of each data information in the touch point information is converted into a unified setting unit format
- the data structure corresponding to the set unit format is used to record the touch point information.
- this optional embodiment can uniformly convert data information such as the coordinates of the touch point, the height and width of the touch point, or the vertices of the geometric figure formed when the touch frame is identified in the original information format into More abstract unit values at the software level, such as coordinate points represented by pixels, width or height values, etc.
- the high-precision touch frame can also capture the rotation operation of the touch object during the touch process, and can determine the rotation angle of the touch rotation. At this time, through the processing method of this optional embodiment , and the initially obtained rotation angle can also be processed in a unified radian unit.
- the above optional embodiment of the first embodiment of the present application specifically adds the processing operation of the touch point information fed back by the touch frame. Through this processing operation, the unified input of the touch point information can be realized, avoiding the problem caused by the touch frame itself.
- the touch point information caused by different attribute parameter information is incompatible in the subsequent execution process, which effectively improves the execution efficiency of handwriting erasing.
- FIG. 2 shows a schematic flow chart of a handwriting erasing method provided in Embodiment 2 of the present application.
- the feedback obtained through the touch frame can be
- the details of the touch point information are as follows: through the hardware circuit in the touch frame, each touch signal is identified, and the touch signal is generated when the touch object moves on the display screen; The touch point information fed back by each touch signal according to the Human Interface Device (HID) standard protocol, wherein one touch point information corresponds to one touch point, and the touch point information includes: touch point coordinates, touch point height and Width, and touch rotation angle.
- HID Human Interface Device
- the handwriting to be erased in the interface can be erased using the erasing geometry that matches the touch object.
- the specific refinement through the obtained touch point information, determine the erasing geometry that the touch object matches during the movement, and determine the moving contour geometry formed by the pair of adjacent touch points during the movement under the erasing geometry ; Analyze each handwriting point included in the described handwriting to be erased, carry out a hit test with each of the handwriting points and the moving outline geometric figure, and determine the target handwriting to be erased falling into the moving outline geometric figure; Erase the target handwriting to be erased in the display interface.
- a method for erasing handwriting provided in Embodiment 2 of the present application specifically includes the following operations:
- it may be triggered by the user to enter a display interface with elemental information such as handwriting, or it may be a display interface with elemental information such as handwriting to be erased triggered in some related scenarios (such as a courseware display scene).
- S202 Receive a handwriting erasing command and enter a handwriting erasing mode, where the handwriting erasing command is triggered by a user.
- the user may receive a handwriting erasing instruction by triggering an erasing button on the display interface, thereby entering the handwriting erasing mode, so as to enable the authority to erase the handwriting in the display interface.
- the operation of the touch object touching the display screen and moving on it is analyzed from the perspective of the touch frame.
- the optical touch sensor can be regarded as a core component constituting the touch frame.
- the optical touch sensor (such as an infrared emitter set on one side and an infrared receiver set on the other side) can be set on the edge of the display screen in real time. Whether there is a touch object on the surface of the display screen is detected by using whether the beam grid formed by the densely distributed infrared signals in different directions is blocked or not.
- a corresponding touch signal can be generated at the corresponding position when the touch object blocks the normally emitted infrared signal; after that, the hardware circuit set in the touch frame can identify the touch signal, such as through Identify the high and low levels of the touch signal to determine the coordinate information of the position of the touch signal represented by the data at the hardware level, the corresponding width information and height information when the touch object blocks the infusion grid, and even the touch object Touch area information and rotation information, etc.
- a group of touch signals can be generated correspondingly, and the hardware circuit on the touch frame can effectively identify the relevant touch information of each touch signal in the group, and at the same time,
- the pressure sensitivity information of the touch object at each touch point can be determined through the pressure of the touch object acting on the hardware circuit of the touch frame.
- the touch frame is a hardware structure on an interactive tablet
- the touch point information identified by the hardware circuit on the touch frame relative to each touch point is difficult to directly input to the upper software processing module.
- the special human-computer interaction HID standard protocol can be used to obtain the readable touch point information at the software level after converting the touch point information recognized at the hardware level.
- each touch point information fed back by the touch frame specifically represents a touch point triggered by the touch object, and the required touch point information must at least include touch point coordinates, touch Point height and width, and touch rotation angle.
- the coordinates of the touch point are the basic information of touch
- the height and width of the touch point can be used to represent the size of the optical sensor on the touch frame when the user controls the movement of the touch object
- the touch area is used to represent the user.
- the coverage area of the touch signal generated by the touch frame can be determined through the above information to determine the matching erasing geometry of the touch object.
- the touch rotation angle can represent the rotation information when the touch object rotates during the movement, and the rotation information can also be regarded as the basic information required for determining the geometric figure of the movement contour corresponding to the erasing geometry.
- this embodiment can realize the erasing of the handwriting to be erased on the display interface through the following S205 to S207. remove.
- this step specifically realizes the determination of two important information required in the erasing operation, one is the erasing geometry matched by the touch object, and the other is the determined erasing geometry of two adjacent touch points.
- the geometric figure of the moving contour that can be formed under the geometric form.
- the determination of the erasing geometry only needs to pay attention to the touch point information of the touch point generated when the touch object touches the display screen for the first time during the movement process.
- the touch area can determine the geometric form that matches the touched area, so that the matched geometric form can be used as the erasing geometric form that can be displayed for this erasing.
- the erasing geometry includes at least a rounded rectangle, a circle, and any irregular figure, and based on the fed-back touch point information of each touch point, each touch point can present An eraser pattern consistent with the erasing geometry, the eraser patterns of two adjacent touch points can be connected in a certain way, and the closed area formed by the connection can be regarded as the moving contour geometry corresponding to the two adjacent touch points .
- each rounded rectangle is equivalent to replacing several top corners of a rectangle with rounded corners, which can be considered as a rounded rectangle with at least Includes the side lengths of rectangles and a portion of the arc of a circle.
- the key points of each rounded rectangle should be obtained first, and then some connection points should be selected from the key points of the two rounded rectangles and connected, and finally connected
- the self area of the two rounded rectangles and the closed area formed by the connection can be obtained, and the combination of the self area and the closed area constitutes a moving contour geometry corresponding to two adjacent touch points when the erasing geometry is a rounded rectangle.
- the geometric shape to be erased is a circle or any irregular shape
- the erased geometric shape it is necessary to first determine the graphical representation information of the figure corresponding to the erased geometric shape itself, and then select the connection points required to establish a connection based on the obtained graphical representation information, and then based on the connection points and
- the figures corresponding to the erasing geometric shapes themselves form a closed combination area as the corresponding moving contour geometric figures.
- a rounded rectangle and a circle can be considered as two special cases of any irregular figure.
- these two special cases are determined for the geometric figure of the moving contour, they may not correspond to any irregular figure.
- the above S205 is equivalent to determining the area to be erased (moving contour geometry) with erasing authority formed when the touch object moves during the erasing operation.
- This step mainly realizes how to determine which handwriting in the display interface falls into the moving area.
- these handwritings can be considered as the current erasable handwritings, which are recorded as the target handwritings to be erased in this embodiment.
- the handwriting to be erased in the display interface can be understood as the content written by the user in the interface in a certain way in the writing or editing mode.
- These handwritings to be erased can also be characterized by corresponding handwriting information, and the key information in the handwriting information is the coordinates of the handwriting points required to form these handwritings to be erased. This step can directly obtain the characterizing The handwriting point coordinates of each handwriting point of the handwriting.
- the operation of determining which handwriting to be erased falls into the moving contour geometric figure can be converted into an operation of determining whether each handwriting point representing the to-be-erased handwriting falls in the moving contour geometric figure.
- the determination of whether the handwriting point falls into the moving contour geometric figure can be realized by performing a hit test between the handwriting point and the moving contour geometric figure.
- the hit test between the handwriting point and the moving outline geometry is equivalent to determining whether the handwriting point is within the closed area of the moving outline geometry.
- To know whether the handwriting point is in the enclosed area it presents is equivalent to determining the data information used to characterize the enclosed area.
- the moving contour geometric figure may have an irregular geometric form, which is difficult to be represented by direct data information. Therefore, this embodiment considers dismantling the moving contour geometric figure, such as disassembling the moving contour geometric figure into a circle And the combination of geometric figures that are easy to characterize such as polygons, and then determine whether the handwriting points exist in the closed area corresponding to each geometric figure after disassembly by the method of hit test.
- the hit test can be realized by judging whether the distance between the handwriting point and the center of the circle is smaller than the radius.
- the hit test can be realized by judging whether the distance between the handwriting point and the center of the circle is smaller than the radius.
- the sum of the corresponding vertex angles of the handwriting points is 360 degrees to realize the hit test; another example is the vector used in the rectangular area Law hit testing, etc.
- the hit test of the handwriting point in each sub-graphic area can be realized, and when it is determined that the handwriting point exists in a certain area, the character of the handwriting point The handwriting is determined as the target handwriting to be erased.
- the erasure of the target handwriting to be erased can be realized through this step.
- What is presented on the display interface in a visual form is that the eraser presented by the touch object moves on the display interface according to the erasing geometry, and the position where the eraser passes no longer displays the handwriting that the user has edited or written on the interface.
- Fig. 2 a has provided the effect diagram of the handwriting erasing method provided by the second embodiment of the present application, as shown in Fig. 2 a, the handwriting 22 to be erased that has been written on it has been presented in the display interface 21, and the user uses the controlled
- the touch object is presented on the display interface 21 in the shape of erasing a circle 23 , and the previously displayed handwriting is no longer displayed on the area where the circle has been moved, but is presented as a blank area.
- the handwriting erasing method provided in Embodiment 2 of the present application specifies the feedback form of touch point information and also specifies the erasing method of handwriting erasing.
- the implementation of the method is based on the premise that the touch response precision of the interactive panel is equipped with a touch frame within a set precision range. Compared with an interactive tablet configured with a conventional touch frame, after the interactive tablet in this embodiment is configured with a high-precision touch frame at the hardware level, the high-precision touch frame can feed back more accurate touch point information containing more effective information to the application layer.
- the erasing response to the handwriting to be erased in the interface can better match the erasing geometry of the touch object used by the user, thereby realizing the flexible adjustment of the erasing area during the erasing process , thereby realizing the improvement of erasing efficiency on the interactive tablet.
- Fig. 2b shows the erasing form and contour figure in the handwriting erasing method provided in the second embodiment of the present application A certain implementation flow chart.
- this first alternative embodiment further combines the above step of S205, that is, through the obtained touch point information, to determine the matching erasing geometry of the touch object during movement, and to determine the adjacent touch point during movement.
- the moving contour geometric figure formed by the point pair under the said erasing geometric form is embodied as the following steps:
- the key touch point information can be specifically understood as the information used to erase the key touch point determined by the geometric form in the touch point information fed back by the touch frame, and the key touch point information also includes the The touch area generated when displaying the display is recorded as the critical touch area.
- this embodiment does not need to determine the erasing geometry of the touch object based on the touch point information corresponding to each touch point, and only needs to filter out one of the touch point information to determine the touch object.
- the touch point information of the touch point generated when the touch object first touches the display screen is considered to perform the determination operation, and the touch point information is recorded as the key touch point information.
- the key touch point information is optional but not specifically limited, and only the corresponding touch point information at the first contact can be used.
- S2052. Determine the area threshold range and area shape to which the key touch area belongs, search for a target shape that matches the area shape in each geometric shape corresponding to the assigned area threshold range, and determine the target shape as the Wipe geometry that matches the touch objects described above.
- the area value of the key touch area can be divided within a certain area threshold range set in advance, and this embodiment also pre-establishes multiple geometric shapes matching it for each area threshold range,
- an area threshold range may conform to various geometric forms, such as conforming figures include circles, combinations of circles and quadrilaterals, combinations of circles and ellipses, and the like.
- the target shape matching the area shape can be determined from the geometric figures corresponding to the area threshold range. For example, when the area shape is a rectangle with radians, it can be considered that the key touch area and the rounded corner Rectangles are matched, and finally the rounded rectangle can be used as the wiper geometry for the touch object.
- the touch frame feeds back touch point information in a discrete form during the movement of the touch object in real time
- each touch point information corresponds to a touch point
- two adjacent touch points can be regarded as a touch point pair.
- each touch point generated during the movement of the touch object presents an allowable erasing area according to the above-mentioned determined erasing geometry, and each touch point is relatively erased.
- the key geometric information of the geometric form can be specifically understood as the mathematical representation information used to characterize the erasing area presented by the touch point, and the mathematical representation information used for the associated closed area after the erasing area presented by two adjacent touch points is connected.
- the determined key geometric information may at least include vertex information or circle center information and radius information of the erasing area presented in an erasing geometric form.
- the key geometric information of each touch point relative to the erasing geometry can be obtained by combining the corresponding touch point information with the above-mentioned determined erasing geometry.
- mathematical operations can be used to determine the data information required for various graphic representations.
- the rounded rectangle includes a rectangle and rounded corners centered on each vertex of the rectangle.
- the erasing area that each touch point used for handwriting erasing appears on the display screen can be selected as the geometric figure to be constructed corresponding to the touch point.
- the erasing geometry is a rounded rectangle
- the corresponding geometric figure to be constructed is recorded as the first geometric figure to be constructed.
- this embodiment specifically describes the determination of the key geometric information corresponding to the touch point when the geometric shape of the erasing is a rounded rectangle from the perspective of mathematical calculations.
- Example 2 provides an explanatory diagram related to the determination of key geometric information when the erasing geometry in the handwriting erasing method is a rounded rectangle.
- this embodiment represents a rounded rectangle with a rotating rectangle and four rounded corners, wherein the rotating rectangle can be considered as a relative A rectangle with an angular offset in the horizontal and vertical directions of the display interface.
- the upper left corner of the display interface can be considered as zero-zero coordinates, and the abscissa becomes larger from left to right, and the ordinate becomes larger from top to bottom, as shown in Figure 2c.
- Fig. 2c contains the first figure to be constructed corresponding to one of the touch points, that is, the effect display of the rounded rectangle, wherein, points A, B, C and D constitute the rotation rectangle of the rounded rectangle, and point A , B, C, and D are respectively used as the centers of the four rounded corners contained in the rounded rectangle.
- the adjacent two rounded corners are connected through tangent points, and the formed combined graphics can be regarded as the rounded corners to be constructed.
- Rectangle, and the radius of the rounded corner in Figure 2c is used as a configurable parameter, and the parameter value can be determined in advance.
- the length of the side length AC plus the diameter of the rounded corner is equivalent to the height of the rounded rectangle; the length of the side length CD plus the circle The diameter of the corners is equivalent to the width of the rounded rectangle.
- each touch point in the adjacent touch point pair has a corresponding rounded rectangle to be constructed.
- the geometric shape of the rounded rectangle corresponding to each touch point is the same, it can be considered that each rounded rectangle
- the implementation of determining the corresponding geometric information is the same.
- the geometric information required to characterize the rounded rectangle is equivalent to the determination of the coordinates of the vertices and the coordinates of the tangent points in FIG. 2c above.
- the coordinates of point O1 can be determined according to the coordinates of the touch point, the height and width of the rounded rectangle can be determined by the height and width of the touch point, and the touch rotation angle and radius Radius of the fillet can also be obtained, where the touch rotation angle can be considered relative to the above The angle by which the horizontal and vertical axes of the given coordinate system are rotated. That is, after converting the data problem, it can be equivalent to: knowing O1, the rotation angle ⁇ , the fillet radius Radius, and the width and height of the rounded rectangle, how to find the vertex coordinates of the rotated rectangle in the rounded rectangle.
- the vertex coordinates of the rounded rectangle can be determined first when the rotation angle is assumed to be 0.
- the rounded rectangle in Figure 2d can be presented as the graph shown in Figure 2e after the operation of rotating ⁇ . At this time, it is equivalent to knowing the coordinates of point A and the rotation angle ⁇ to determine points A and B , C and D are the coordinates after rotating ⁇ relative to point O1.
- the coordinates of point A after rotation relative to O1 can be calculated; in order to make point A relative to zero, it is necessary to make point A relative to
- the coordinates of O1 are converted into coordinates relative to the zero point, that is, the specific implementation is to add the coordinates of O1 to finally obtain the coordinates of point A after rotation.
- points B, C, and D in the rounded rectangle to be constructed can also use the same calculation as above.
- point A1 is equivalent to the ordinate of point A minus the radius of the rounded corner when not rotated
- point A2 is equivalent to the abscissa of point A when not rotated minus the radius of the rounded corner. Therefore, the coordinates of A 1 and A 2 can be calculated by using the new point formula obtained after a certain point is rotated by a specific point, and the coordinates of B 1 and B 2 can be calculated similarly.
- the coordinates of each point required by each touch point in the pair of adjacent touch points to represent the rounded rectangle to be constructed can be calculated in the above manner. Next, how to calculate the geometric information of each connection area formed by the connection of two rounded rectangles is described.
- the line segment connecting the center points of the two rectangles is used to check whether the two line segments that do not intersect the rectangle itself are correct, and the two correct line segments should be parallel to the line segment connecting the center points of the two rectangles.
- connection state diagram shown in FIG. 2g After being connected in the above manner, the connection state diagram shown in FIG. 2g can be obtained.
- the line segment B 1 C 2 corresponding to the line segment BC is actually equivalent to moving the BC line segment horizontally for a certain distance, the moving distance is the radius of the fillet, and the moving direction is outward.
- the mathematical method in the related art can be used to calculate the BC line segment, and the line segment can be translated in a certain direction for a known distance, and the mathematical calculation method in the related art can also be used for calculation.
- the coordinates of each vertex shown in Fig. 2h can be calculated.
- the calculated coordinates of each vertex in Figure 2h are equivalent to the coordinates of the connection points of the two graphics after the adjacent touch points connect the corresponding rounded rectangles, and Figure 2h also includes two rounded rectangles for connection The effect display of the moving contour geometry formed after.
- each rounded corner in the first geometric figure to be constructed includes two key tangent points; each key tangent point is a corresponding tangent point when the rounded corner is connected with an adjacent rounded corner by a tangent.
- step S2053 when the geometric shape of erasing is a circle, the implementation of the second optional implementation item of the above-mentioned step S2053 is specifically described as follows:
- the erasing area whose geometry to be constructed is circular is recorded as the second geometric figure to be constructed.
- touch point coordinates, touch width, and touch height in the touch point information corresponding to each touch point in the pair of adjacent touch points determine the circle center coordinates and key intersection coordinates of the corresponding second geometric figure to be constructed.
- the touch point information of each touch point in the adjacent touch point pair is also required.
- the above step b1 can be used to determine the corresponding second to-be-built The coordinates of the circle center of the geometric figure and the coordinates of each key intersection point, specifically:
- touch width and touch height in the touch point information corresponding to each touch point in the adjacent touch point pair determine the circle center coordinates of the corresponding second circle to be constructed; connect the corresponding two circle centers coordinates to obtain a line connecting the centers of the circles; through the coordinates of the centers of the circles, construct straight lines perpendicular to the lines connecting the centers of the circles, and obtain the coordinates of key intersections determined after each line intersects with the corresponding second circle to be constructed.
- this embodiment still converts the above-mentioned key geometric information about the circle into a mathematical problem for description, wherein, Figure 2i to Figure 2m show the erasing method in the second embodiment of the present application. Schematic illustration of the determination of key geometric information when the geometric form is a circle.
- finding the key geometric information of the two circles can be transformed into: finding the vertices of the line segment parallel to the touch moving direction and intersecting the circle when the two circles are connected according to the touch moving direction.
- the abstract mathematical problem can be: two circles are known, the centers of which are P1 and P2 respectively, and the radii are the lengths of r1 and r2 respectively; the line segment AB is perpendicular to the line segment P1P2, and the line segment CD is also perpendicular to the line segment P1P2 , and the intersection points of the AB line segment and the circle are two points A and B respectively; and the intersection points of the CD line segment and the circle are two points C and D respectively; find the coordinates of the four points A, B, C and D.
- the coordinates of the above-mentioned circle centers P1 and P2, and the radii r1 and r2 can be obtained by conventional calculation, and the touch movement direction can also be based on two touch points Coordinates are determined in real time.
- the specific description is as follows:
- the coordinates of the center of the circle corresponding to each touch point can be determined, which is recorded as the coordinate of the center of the circle in this embodiment; at the same time, the coordinates of the circle center formed by the connection of the two circles can also be calculated.
- the coordinates of the key intersection point can be determined, which is recorded as the coordinate of the center of the circle in this embodiment; at the same time, the coordinates of the circle center formed by the connection of the two circles can also be calculated. The coordinates of the key intersection point.
- each coordinate point determined above can be used as the key geometric information associated when the geometric shape of the erasing is a circle.
- any irregular figure can be understood as a combined set figure composed of broken lines and/or arcs, and this embodiment can choose that any irregular figure be associated with each touch point in the pair of adjacent touch points
- the graphic representation of the erased area is recorded as the third geometric figure to be constructed in this embodiment.
- the presentation form of the irregular figure it is possible to determine which figure information is specifically included in the irregular figure, for example, it may include a broken line figure or an arc figure, and the determined information may be recorded as combined figure information.
- Fig. 2n shows the effect display diagram when the erasing geometry in the handwriting erasing method provided in the second embodiment of the present application is any irregular figure, as shown in Fig. 2n, the arbitrary irregular figure 24 can be regarded as It is a combination of polygons and circles.
- the determination of the key geometric information corresponding to the irregular figure can be realized in the following manner.
- the information of the touch point corresponding to the pass can be combined with the combined figure information to determine
- the key trajectory points existing on the third geometric figure to be constructed relative to the touch point and the graphical representation information of the third geometric figure to be constructed are embodied as:
- the analysis of the combined graphics information can obtain what shape is specifically included in the arbitrary irregular graphics, such as polyline polygons, arcs or circles, or polyline polygons and polygons at the same time. round etc.
- the third geometric figure to be constructed contains only polyline polygons
- determine the key trajectory points of the polyline polygons relative to the touch points through the corresponding touch point information and obtain the first point representing the polyline polygons Graphics represent information.
- This step b32 mainly provides one of the cases, that is, when only a polyline polygon is included, the graphical representation information associated with the polyline polygon (the first graphical representation information) and the polyline polygons corresponding to the two touch points are connected. Deterministic implementation of key trajectory points.
- the key trajectory point of the broken line polygon relative to the touch point is determined through the corresponding touch point information, and the first graphic representation information representing the broken line polygon is obtained, including:
- touch point coordinates, touch height and touch width in the corresponding touch point information determine the polyline center point coordinates and the polyline vertex coordinates of the polyline polygon as the first graphic representation information; through the polyline center point coordinates and the corresponding touch point information, and select key track points satisfying the filter condition of track points from the coordinates of vertices of each polyline.
- the above problem can also be transformed into calculation of a mathematical problem.
- the irregular figure is only a polyline polygon
- Fig. 2o to Fig. 2q are schematic explanatory diagrams related to the determination of key geometric information when the erasing geometry in the handwriting erasing method provided in the second embodiment of the present application is any irregular figure and only includes polyline geometric figures.
- the above-mentioned calculation process can abstract the mathematical problem as follows, given the polyline polygons A and B and the touch movement direction AB, wherein, when the polyline polygon A will be transformed into the polyline polygon B along the movement direction, the polyline polygon A to The motion track of the polyline polygon B.
- the essential problem of the above calculation is to find two vertices of each of the two polyline polygons from the AB direction, and connect the corresponding vertices. Each vertex used for connection is equivalent to a key trajectory point.
- each geometry is independent, it can be calculated separately.
- the touch movement direction is a vector, and the vector has no coordinates. Find the vertices that can be selected for any polyline polygon in any touch movement direction. It is necessary to understand the characteristics of this vertex, considering that the vector has no coordinates, so in the calculation implementation, the vector of the touch movement direction can be translated arbitrarily. And the best way to do this is to translate the vector to the center point of the polyline polygon.
- the above problem can be transformed into the problem of finding the two vertices farthest from the straight line corresponding to the vector in the polyline polygon, and these two vertices are respectively located on both sides of the straight line.
- the distances from point b and point d to line segment AB are the farthest points on both sides of the line segment. Therefore, point b and point d can be regarded as two key trajectory points in the polyline polygon shown in Fig. 2p.
- Fig. 2q The schematic diagram of the closed area finally formed is shown in Fig. 2q, that is, Fig. 2q also includes the effect display of the moving contour geometry formed by connecting two polyline polygons.
- the third geometric figure to be constructed includes a polyline polygon and a target circle
- the second graphic of the key circle represents information.
- This step b33 mainly provides another situation, that is, when a circle (this embodiment is recorded as the target circle) is included in addition to the polyline polygon, the irregular figure (combination of the polyline polygon and the circle) is associated
- the graphic representation information second graphic representation information
- the determination of the key track points existing when the irregular graphics corresponding to the two touch points are connected are realized.
- the key trajectory point is determined from the polygon polygon and the key circle through the corresponding touch point information, and the second graphic representation information representing the polygon polygon and key circle is obtained as follows: :
- touch point coordinates, touch height and touch width in the corresponding touch point information determine the polyline center point coordinates and the polyline vertex coordinates of the polyline polygon, as well as the key circle center point coordinates and circle radius, and use them as the first 2.
- Graphical representation of information through the coordinates of the center point of the polyline, the coordinates of the center point, the radius of the circle, and the corresponding touch point information, select from the circumference of the key circle and the coordinates of the vertices of each polyline to meet the filter conditions of the track point key track points.
- this embodiment still converts the above-mentioned key geometric information about the circle into a mathematical problem for description, wherein, Fig. 2r and Fig. 2s show the handwriting erasing method provided in the second embodiment of the present application.
- the geometric form is any irregular figure, it is a related schematic diagram for determining the key geometric information.
- Figure 2r can include circles and polyline polygons.
- the specific implementation of this part can be abstracted as a mathematical problem, that is, the calculation method is to judge whether a certain tangent line of the circle is qualified as a key trajectory point.
- the judgment method is: in Figure 2r, first judge the distance between the center of the circle and the line segment AB, and then add the distance to the radius of the circle, which is equal to the farthest distance from the circle to the line segment. If this distance satisfies the maximum distance, the point of tangency on the circle can thus be considered a critical trajectory point.
- the determination of the key track point described above is described as follows: specifically as shown in 2s, if there is a key track point in the current circle, to find the key track point of the circle, you can first find the auxiliary line CD and The point of intersection of the circles, the point b which is relatively far from AB is the key trajectory point.
- the three sub-steps included in the above b3 can be used to specifically realize different determinations of key trajectory points, and the determined key trajectory points and the graphic representation information of each combined graphics can be used as the first Three key geometric information of the geometry to be constructed.
- the graphic representation information of the above-mentioned combined graphics in this embodiment can generally be determined directly by combining the given touch point information with some parameter information, and the graphic representation information mainly includes the center point and vertex coordinates of the combined graphic. , or circle center coordinates and circle radius information, etc.
- the key geometric information determined above is actually equivalent to including the graphic representation information of the geometric figures to be constructed corresponding to the two touch points in the pair of adjacent touch points, and the corresponding two graphic representation information after connecting.
- this embodiment also includes a definite implementation description of the corresponding moving contour geometric figures in different erasing geometric forms.
- the given figure 2h includes a moving contour geometric figure corresponding to a rounded rectangle, that is, the first moving contour figure.
- the first moving contour graphic includes 8 circular areas (specifically corresponding to the key circular areas determined in the above two steps of a4 and b4), and also includes each filled rectangular area for filling display ( Specifically corresponding to the circumscribed rectangular area determined by the above two steps of c4 and d4), such as the rectangle ABA 1 B 2 , and the rectangle AFA 2 F 1 , etc.
- the key connection point pairs selected when the above two steps of c4 and d4 are determined can include A 1 B 2 , AB, AF, A 2 F 1 , F 2 E 1 , EF, BC and B 2 C 2 etc.
- the closed area connected by vertices can also be determined, such as the polygonal area formed based on the point ABCDEF in Figure 2h, which is also included in Figure 2h as a part of the first moving contour figure.
- the given figure 2i includes a moving contour geometric figure corresponding to a circle, that is, a second moving contour figure.
- 2 circular areas (specifically corresponding to the second geometric figure area to be constructed determined in the above two steps of a5 and b5) are included in the second moving contour figure;
- the quadrilateral area (specifically corresponds to the key intersection connection area determined in the above two steps of c5 and d5).
- the combination of the circular area and the key intersection connecting area in Fig. 2i constitutes the second moving contour figure.
- the first graphic representation information may be graphic representation information of a broken line polygon;
- the second graphic representation information may be graphic representation information of a combination of a broken line polygon and a circle.
- the determined combined geometric figure is a polyline polygon, or a combination of a polyline polygon and a circle.
- the second alternative embodiment implements the determination of the target handwriting to be erased through the process shown in FIG. 2b.
- FIG. 2 t shows an implementation flowchart of determining target handwriting to be erased in the handwriting erasing method provided in Embodiment 2 of the present application.
- this second optional embodiment further combines the above-mentioned step of S206, that is, analyzing each handwriting point included in the handwriting to be erased, and comparing each handwriting point with the moving contour geometric figure Hit test, determine the handwriting to be erased by the target falling into the moving contour geometric figure, the following steps for the specific position:
- the given figure 2h includes the moving contour geometry corresponding to the rounded rectangle, and the figures included in the figure 2h are disassembled After the solution, it includes the closed area connected by vertices, multiple circumscribed rectangular areas formed based on each key connection point pair, and 8 key circular areas.
- the specific implementation of performing the first hit test on the handwriting point and each of the circumscribed rectangular areas may optionally include:
- FIG. 3 and FIG. 4 are schematic illustrations of the hit test implementation used when the erasing geometry is a rounded rectangle in the handwriting erasing method provided in Embodiment 2 of the present application.
- the first point 25 is the handwriting point to be hit tested
- the first polygon 26 is the contour corresponding to the abstracted first moving contour figure
- the first point 25 and the first Each vertex of polygon 26 is connected constitutes the first connection figure 27 as shown in Figure 4;
- can determine the angle value of first point 25 in each triangle shown in Figure 4 finally can calculate the sum of angle value Whether it is 360 degrees, if it is 360 degrees, it can be considered that the first hit test is successful.
- the specific implementation of performing the second hit test on the handwriting point and each of the key circular areas may optionally include:
- the third optional embodiment of the second embodiment it can be refined on the basis of the above-mentioned first optional embodiment. Specifically, after the above S205 determines that the erasing geometry is a circle, and the second optional implementation item corresponding to S2053 is used to realize the determination of key geometric information, and the second optional implementation item corresponding to S2054 is implemented Based on the determination of the moving contour geometry, the third alternative embodiment implements the determination of the target handwriting to be erased through the process shown in FIG. 5 .
- FIG. 5 shows another implementation flow chart of determining target handwriting to be erased in the handwriting erasing method provided in Embodiment 2 of the present application.
- this third optional embodiment further combines the above-mentioned step of S206, that is, analyzing each handwriting point included in the handwriting to be erased, and comparing each handwriting point with the moving contour geometric figure Hit test, determine the handwriting to be erased by the target falling into the moving contour geometric figure, the following steps for the specific position:
- the given figure 2i includes a moving contour geometric figure corresponding to a rounded rectangle.
- Fig. 2i after disassembling the included second moving contour figure, there are two circular areas and a key intersection connection area.
- the third hit test is performed on the connection area between the handwriting point and the key intersection point, specifically:
- the key intersection connection area is a rectangular area
- select two rectangular side vectors formed by a vertex from the rectangular area and perform the described step by comparing the handwriting point with each of the rectangular side vectors.
- the hit test of the handwriting point and the rectangular area otherwise, based on each vertex of the key intersection connection area, determine the same side vector to be compared as the number of vertices; Comparing the vectors, performing a hit test between the handwriting point and the rectangular area.
- connection area of the key intersection point may be a rectangular area (for example, the two circles have the same radius), but there are cases where it is not a rectangular area (for example, the two circles have different radii).
- This embodiment provides the implementation of the hit test in these two cases.
- FIG. 6 and FIG. 7 provide a schematic illustration of one of the hit test implementations used when the erasing geometry is circular in the handwriting erasing method provided in Embodiment 2 of the present application.
- the hit test problem can be converted to whether the point is in the rectangle.
- the vertices ABC and D of the rectangle are known, and whether the handwriting point M is in the rectangle.
- three vectors of vector AB, AC and AM can be made.
- whether the handwriting point is within the rectangle can be determined by the following formula (0 ⁇ AM ⁇ AB ⁇ AB ⁇ AB) ⁇ (0 ⁇ AM ⁇ AC ⁇ AC ⁇ AC). A handwriting point is considered to satisfy the third hit test if it is inside the rectangle.
- connection area of the key intersection point is an irregular polygon
- the angle between the two vectors can be calculated.
- a characteristic of the vector that is, it is judged by the cross product of the vector. Specifically, take a point on the geometric edge, choose a clockwise or counterclockwise direction arbitrarily, connect the point to the next adjacent point to form a vector, and then The point and the point to be judged form a vector, and the value of the cross product of these two vectors is calculated.
- the cross products of all vectors are in the same direction, that is to say, the point is on the same side of the line segment set composed of all geometric adjacent sides, that is, the handwriting point is inside the irregular polygon.
- the cross products of the judgment vectors are all in the same direction, you can judge whether the value of the cross product is greater than zero, all the values of the cross product are greater than zero or less than zero, then it proves that the handwriting points are in the irregular polygon internal. If the value of the cross product is equal to zero, it proves that the handwriting point is on a certain side of the irregular polygon.
- the fourth hit test is also a test that the handwriting point is within the circular area.
- the fourth optional embodiment of the second embodiment it can be refined on the basis of the above-mentioned first optional embodiment. Specifically, after the above S205 determines that the erasing geometry is any irregular figure, and the third optional implementation item corresponding to S2053 is used to determine the key geometric information, and the third optional implementation item corresponding to S2054 On the basis of realizing the determination of the moving contour geometry, the fourth alternative embodiment implements the determination of the target handwriting to be erased through the process shown in FIG. 8 .
- FIG. 8 shows another implementation flowchart of determining target handwriting to be erased in the handwriting erasing method provided in Embodiment 2 of the present application.
- this third optional embodiment further combines the above-mentioned step of S206, that is, analyzing each handwriting point included in the handwriting to be erased, and comparing each handwriting point with the moving contour geometric figure. Hit test, determine the handwriting to be erased by the target falling into the moving contour geometric figure, the following steps for the specific position:
- corner hit test can be understood as an implementation manner of the hit test described above based on FIG. 3 and FIG. 4 in this embodiment.
- the distance hit test can be understood as the implementation of the hit test between handwriting points and circular areas in this embodiment.
- the vector hit test can be understood as the implementation of the hit test based on the vector judgment of points and irregular polygons when the third hit test is described above in this embodiment.
- the third target point set all the handwriting points that have been hit tested successfully with the third moving contour figure are summarized, and based on these handwriting points, it is possible to restore which handwriting to be erased in the display interface falls into the third target point. Move the outline graphics, and use these handwritings to be erased as the target handwritings to be erased.
- this fifth optional embodiment can be refined on the basis of the above-mentioned first optional embodiment. Specifically, this fifth optional embodiment can determine the touch object through the obtained touch point information through the execution of the above S205. After the operation of erasing geometry matched in the move, the following operations are further added:
- this special case can be understood as when the erasing geometry is a rounded rectangle, the touch object does not move on the display screen, but contacts the display screen in a static state.
- the touch point information fed back by the touch frame is the information of the touch point generated when the touch object is in contact with the display screen.
- an erasing area to be constructed whose geometric shape is a rounded rectangle can be formed.
- the erased area is equivalent to a static rounded rectangle. Therefore, in this case, the specific implementation of this fifth alternative embodiment is as follows:
- the static touch point may be understood as a touch point corresponding to a touch signal generated when the touch object contacts the display screen for the first time.
- the touch point information of the static touch point can be obtained.
- FIG. 9 shows an effect display diagram of a static rounded rectangle in the handwriting erasing method provided in Embodiment 2 of the present application.
- the static rounded rectangle includes two rectangles (two filled rectangular areas) and four circles. That is, in this embodiment, the static rounded rectangle may optionally include two static rectangular areas and four static circular areas.
- the static rounded rectangle is equivalent to determining the relevant geometric information of the two rectangles and the four circles.
- the coordinates of the vertices of the above two rectangles, and the center coordinates and radius information of the four circles can also be determined, which is equivalent to obtaining the static Relative representation of a rounded rectangle.
- Erase handwriting for erasure including:
- the handwriting point For each handwriting point in the handwriting to be erased, the handwriting point is hit-tested with two static rectangular areas and four circular areas respectively; if the handwriting point satisfies the successful condition of the hit test, The handwriting points are added to a static point set; and the handwriting formed based on each handwriting point in the static point set is erased.
- the test of the handwriting point and the static rounded rectangle specifically includes the hit test of the handwriting point and the rectangular area and the hit test of the handwriting point and the circular area.
- the test about the rectangular area can be realized through the above-mentioned description about the rectangular hit test (the vector method hit test), and the test for the circular area can also be realized through the above-mentioned description about the circular hit test (the distance method hit test).
- Fig. 10 is a structural block diagram of a handwriting erasing device provided in Embodiment 3 of the present application.
- the handwriting erasing device can be integrated in an interactive tablet, wherein the touch response accuracy of the touch box equipped in the interactive tablet is within the set accuracy range.
- the device may specifically include the following modules:
- the display module 31 is used to display a display interface that includes handwriting to be erased through a display screen;
- Trigger module 32 is used for receiving handwriting erasing instruction, enters handwriting erasing mode, and described handwriting erasing instruction is formed by the trigger of user;
- An acquisition module 33 configured to acquire touch point information fed back through the touch frame when a touch object touches the surface of the display screen and moves, and the touch object is manipulated by the user;
- the erasing module 34 is used to erase the handwriting to be erased in the interface by using an erasing geometry that matches the touch object by analyzing the obtained touch point information and the handwriting to be erased .
- Embodiment 3 of the present application provides a handwriting erasing device.
- the executive body of the device, the interactive tablet is equipped with a high-precision touch frame on the hardware structure, and the configured high-precision touch frame can be realized by the method provided in this embodiment.
- Functional optimization on the software application level compared to the interactive panel that is not optimized at the software level in the related art, the present embodiment 3 integrates a handwriting erasing device on the interactive panel, which can ensure that the interface to be erased
- the erasing response of the handwriting can better match the erasing geometry of the touch object used by the user, so as to realize the flexible adjustment of the erasing area during the erasing process, and thus improve the erasing efficiency on the interactive tablet.
- the erasing geometry matching the touch object is reflected by the touch area of the touch object acting on the display screen;
- the erasing geometry includes rounded rectangle, circle and any irregular figure.
- the acquisition module 33 can specifically be used for:
- each touch signal is identified through the hardware circuit in the touch frame, and the touch signal is generated when the touch object moves on the display screen;
- one touch point information corresponds to one touch point
- the touch point information includes: touch point coordinates, touch point height and width, and touch rotation angle.
- the device also includes an input processing module,
- the input processing module may be configured to process each touch point information after obtaining the touch point information fed back by the touch frame, so that each touch point information has a unified unit format and data structure.
- the specific implementation of the input processing module processing the touch point information may include:
- the unit of each data information in the touch point information is converted into a unified set unit format
- the data structure corresponding to the set unit format is used to record the touch point information.
- the erasing module 34 may specifically include:
- a shape profile determination unit configured to determine the geometric shape of the eraser matched by the touch object during the movement through the obtained touch point information, and determine the geometry of the moving contour formed by the pair of adjacent touch points during the movement under the geometric shape of the eraser graphics;
- a target handwriting determining unit configured to analyze each handwriting point included in the handwriting to be erased, perform a hit test on each of the handwriting points and the moving contour geometric figure, and determine the target falling into the moving contour geometric figure Handwriting to be erased;
- An erasing execution unit configured to erase the target handwriting to be erased in the display interface.
- the morphological contour determination unit may specifically include:
- An information acquisition subunit configured to extract key touch point information, and obtain a key touch area in the key touch point information, wherein the key touch point information is obtained when the touch object contacts the display screen for the first time during its movement. Generate touch point information of the touch point;
- the shape determination subunit is used to determine the area threshold range and area shape to which the key touch area belongs, and search for a target shape that matches the area shape in each geometric shape corresponding to the assigned area threshold range, and place the target morphologically determining an erasure geometry that matches the touching object;
- the geometric information determination subunit is configured to, for each pair of adjacent touch points in the movement of the touch object, determine the touch points of each pair of adjacent touch points by analyzing the information of the corresponding touch points of the pair of adjacent touch points.
- the outline determining subunit is configured to determine the moving outline geometry formed by the pair of adjacent touch points relative to the erasing geometry according to each of the key geometric information.
- the rounded rectangle includes a rectangle and rounded corners with each apex of the rectangle as the center;
- the geometric information determines the subunit, which is specifically used for:
- each rounded corner in the first geometric figure to be constructed includes two key tangent points; each key tangent point is a corresponding tangent point when the rounded corner is connected with an adjacent rounded corner by a tangent.
- contour determination subunit can specifically be used for:
- each of the key circular areas, each of the circumscribing rectangular areas, and the vertex-connected closed area forms a first moving contour figure formed by the pair of adjacent touch points relative to the rounded rectangle.
- the target handwriting determining unit can be specifically used for:
- the handwriting formed based on each handwriting point in the first target point set is determined as the target handwriting to be erased that falls into the moving contour geometric figure.
- the erasing module 34 also includes: a static erasing implementation unit,
- the static erasing implementation unit may specifically include:
- the static point determination subunit is used to determine the erasing geometry matched by the touch object during movement through the obtained touch point information, when it is determined that the erasing geometry is a rounded rectangle and the When the touch object does not move within the set time, determine the corresponding static touch point when the touch object touches the display screen within the set time;
- a static rectangle determining subunit configured to determine a static rounded rectangle relative to the static touch point based on the touch point information of the static touch point;
- a static hit test subunit configured to hit test each handwriting point included in the handwriting to be erased with the static rounded rectangle, and to perform a hit test on the handwriting points that fall into the static rounded rectangle in the interface. Erase handwriting.
- the static rounded rectangle includes two static rectangular areas and four static circular areas;
- the static hit test subunit can be used specifically for:
- the handwriting point is hit-tested with two static rectangular areas and four circular areas respectively;
- geometric information determination subunit can be specifically used for:
- the circle is recorded as the second geometric figure to be constructed of each touch point in the pair of adjacent touch points;
- touch point coordinates, touch width, and touch height in the touch point information corresponding to each touch point in the adjacent touch point pair determine the circle center coordinates and the key intersection coordinates of the corresponding second geometric figure to be constructed;
- the coordinates of the center of the circle corresponding to each touch point and the coordinates of each key intersection point are regarded as key geometric information relative to the second geometric figure to be constructed.
- the specific execution steps of the coordinates of each key intersection point may include:
- Straight lines perpendicular to the line connecting the centers of the circles are respectively constructed through the coordinates of the centers of the circles, and the coordinates of the key intersection points determined after each straight line intersects with the corresponding second circle to be constructed are obtained.
- contour determination subunit can specifically be used for:
- Each of the second geometric figures to be constructed is combined with the key intersection connection area to form a second moving contour figure formed by the pair of adjacent touch points relative to the circle.
- the target handwriting determination unit can be specifically used for:
- the handwriting formed based on each handwriting point in the second target point set is determined as the target handwriting to be erased falling into the moving contour geometric figure.
- the key intersection connection area is a rectangular area
- select two rectangular side vectors formed by a vertex from the rectangular area and perform the described step by comparing the handwriting point with each of the rectangular side vectors.
- a hit test between the handwriting point and the rectangular area otherwise,
- a hit test between the handwriting point and the rectangular area is performed by comparing the handwriting point with each of the edge vectors to be compared.
- geometric information determination subunit can also be specifically used for:
- the erasing geometry is any irregular figure
- the graphic representation information of each combined graphic and each key track point are regarded as key geometric information of the touch point relative to the third geometric figure to be constructed.
- Specific implementation steps may include:
- the third geometric figure to be constructed contains only polyline polygons
- the third geometric figure to be constructed includes a polyline polygon and a target circle
- the second graphical representation of the shape is the information.
- determining the key trajectory point of the polyline polygon relative to the touch point based on the corresponding touch point information, and obtaining the specific execution information of the first graphical representation information representing the polyline polygon may include:
- the key track points satisfying the filter condition of the track points are selected from the coordinates of the vertices of the polylines.
- the specific execution steps of determining the key trajectory point from the polyline polygon and the key circle according to the corresponding touch point information, and obtaining the second graphic representation information representing the polyline polygon and the key circle may include:
- touch point coordinates, touch height and touch width in the corresponding touch point information determine the polyline center point coordinates and the polyline vertex coordinates of the polyline polygon, as well as the key circle center point coordinates and circle radius, and use them as the first 2.
- Graphic representation of information
- the coordinates of the center point of the polyline According to the coordinates of the center point of the polyline, the coordinates of the center point of the circle, the radius of the circle, and the corresponding touch point information, select key track points satisfying the screening conditions of track points from the circumference of the key circle and the coordinates of vertices of each of the polylines.
- the contour determination subunit can be specifically used for
- the target handwriting determining unit can be specifically used for:
- the distance hit test is carried out by the distance method between the handwriting point and each described polyline polygon and the key circle;
- the handwriting point is added to the third target point set; otherwise, the handwriting point and the key track area are subjected to a vector hit test, and when the vector hit test is successful, the handwriting Points are added to a third set of target points;
- the handwriting formed based on each handwriting point in the third target point set is determined as the target handwriting to be erased falling into the moving contour geometric figure.
- FIG. 11 is a schematic structural diagram of an interactive panel provided in Embodiment 4 of the present application.
- the interactive panel includes: a processor 40 , a memory 41 , a display screen 42 , an input device 43 , an output device 44 , and a touch frame 45 .
- the number of processors 40 in the interactive panel can be one or more, and one processor 40 is taken as an example in FIG. 11 .
- the number of memory 41 in the interactive panel can be one or more, and one memory 41 is taken as an example in FIG. 11 .
- the processor 40 , memory 41 , display screen 42 , input device 43 , output device 44 and touch frame 45 of the interactive panel can be connected through a bus or in other ways. In FIG. 11 , connection through a bus is taken as an example.
- Memory 41 can be used to store software programs, computer-executable programs and modules, such as program instructions/modules corresponding to the interactive flat panel described in any embodiment of the present application (for example, in the handwriting erasing device) display module 31, trigger module 32, acquisition module 33 and presentation module 34).
- the memory 41 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required by a function; the data storage area can store data created according to the use of the device, etc.
- the memory 41 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices. In some instances, the memory 41 may further include memory located remotely relative to the processor 40, and these remote memories may be connected to the device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- the display screen 42 is covered with the touch frame 45 (the covering relationship is not shown in FIG. 11 ), which can constitute a touch screen for displaying interactive content. Generally speaking, the display screen 42 is used to The display data is also used to receive touch operations on the display screen 42 and send corresponding signals to the processor 40 or other devices.
- the input device 43 can be used to receive input digital or character information, and generate key signal input related to user settings and function control of the display device, and can also be a camera for obtaining graphics and a sound pickup device for obtaining audio data.
- the output device 44 may include an audio device such as a speaker. It should be noted that the specific composition of the input device 43 and the output device 44 can be set according to actual conditions.
- the touch response precision of the touch frame 45 reaches the set precision range, and is used to respond to the touch operation of the touch object through the included hardware circuit.
- the processor 40 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 41 , that is, realizes the above-mentioned handwriting erasing method.
- the interactive tablet provided above can be used to execute the handwriting erasing method provided by any of the above embodiments, and has corresponding functions.
- Embodiment 5 of the present application also provides a storage medium containing computer-executable instructions, the computer-executable instructions are used to perform a handwriting erasing method when executed by a computer processor, including:
- Receive handwriting erasing instruction enter handwriting erasing mode, described handwriting erasing instruction is formed by the trigger of user;
- the handwriting to be erased in the interface is erased using an erasing geometry that matches the touch object.
- a storage medium containing computer-executable instructions provided in the embodiments of the present application the computer-executable instructions are not limited to the operation of the handwriting erasing method as described above, and can also execute the handwriting erasing method provided in any embodiment of the present application. In addition to the relevant operations in the method, and have the corresponding functions.
- each part of the present application may be realized by hardware, software, firmware or a combination thereof.
- various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system.
- a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinatorial logic gates, Programmable Gate Array (PGA), Field-Programmable Gate Array (FPGA), etc.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims (27)
- 一种笔迹擦除方法,应用于交互平板,所述交互平板所配备触摸框的触摸响应精度达到设定精度范围,所述方法包括:通过显示屏展示包含有待擦除笔迹的显示界面;接收笔迹擦除指令,进入笔迹擦除模式,所述笔迹擦除指令通过用户的触发形成;在触摸物触碰所述显示屏的表面并移动时,获得通过所述触摸框反馈的触摸点信息,所述触摸物由用户操控;通过对所获得触摸点信息以及所述待擦除笔迹的分析,采用与所述触摸物相匹配的擦除几何形态对所述界面中的待擦除笔迹进行擦除;与所述触摸物相匹配的擦除几何形态通过所述触摸物作用在显示屏上的触摸面积来体现;所述擦除几何形态包括圆角矩形、圆形以及任意不规则图形。
- 根据权利要求1所述的方法,其中,所述获得通过所述触摸框反馈的触摸点信息,包括:通过所述触摸框中硬件电路识别各触控信号,所述触控信号由所述触摸物在所述显示屏上移动时产生;获得所述触摸框通过人机交互HID标准协议针对各所述触控信号反馈的触摸点信息,其中,一个触摸点信息对应一个触摸点,所述触摸点信息包括:触摸点坐标、触摸点高度和宽度、以及触摸旋转角度。
- 根据权利要求1所述的方法,在获得通过所述触摸框反馈的触摸点信息之后,还包括:处理各所述触摸点信息,以使各所述触摸点信息具备统一的单位格式及数据结构。
- 根据权利要求3所述的方法,其中,所述处理各所述触摸点信息,包括:根据所获取触摸框的尺寸大小信息以及屏幕分辨率信息,将所述触摸点信 息中各项数据信息的单位转换为统一的设定单位格式;采用所述设定单位格式对应的数据结构,对所述触摸点信息进行记录。
- 根据权利要求1所述的方法,其中,通过对所获得触摸点信息以及所述待擦除笔迹的分析,采用与所述触摸物相匹配的擦除几何形态对所述界面中的待擦除笔迹进行擦除,包括:通过所获得的触摸点信息,确定触摸物在移动中匹配的擦除几何形态,以及确定移动中相邻触摸点对在所述擦除几何形态下构成的移动轮廓几何图形;分析所述待擦除笔迹中包括的各笔迹点,将各所述笔迹点与所述移动轮廓几何图形进行命中测试,确定落入所述移动轮廓几何图形中的目标待擦除笔迹;在所述显示界面中对所述目标待擦除笔迹进行擦除。
- 根据权利要求5所述的方法,其中,所述通过所获得的触摸点信息,确定触摸物在移动中匹配的擦除几何形态,以及确定移动中相邻触摸点对在所述擦除几何形态下构成的移动轮廓几何图形,包括:提取关键触摸点信息,获得所述关键触摸点信息中的关键触摸面积,其中,所述关键触摸点信息为所述触摸物移动中首次与所述显示屏接触时所产生触摸点的触摸点信息;确定所述关键触摸面积归属的面积阈值范围以及面积形态,在所归属面积阈值范围对应的各几何形态中查找与所述面积形态相匹配的目标形态,将所述目标形态确定为所述触摸物匹配的擦除几何形态;针对所述触摸物移动中的每个相邻触摸点对,通过对所述相邻触摸点对所对应触摸点信息的分析,确定相邻触摸点对中各触摸点相对所述擦除几何形态的关键几何信息;根据各所述关键几何信息,确定所述相邻触摸点对相对所述擦除几何形态构成的移动轮廓几何图形。
- 根据权利要求6所述的方法,其中,当所述擦除几何形态为圆角矩形时,所述圆角矩形包括一个矩形和以矩形各顶点为圆心的圆角;所述通过对所述相邻触摸点对所对应触摸点信息的分析,确定相邻触摸点对中各触摸点相对所述擦除几何形态的关键几何信息,包括:将所述圆角矩形记作所述相邻触摸点对中各触摸点的第一待构建几何图形;针对所述相邻触摸点对中的每个触摸点,通过所对应触摸点信息中的触摸点坐标、触摸宽度、触摸高度以及触摸旋转角度,结合预给定的圆角半径,确定所述第一待构建几何图形中矩形的中心点坐标、各圆角的圆心坐标和各关键切点坐标、以及两图形连接点坐标;将所述矩形的中心点坐标、各圆角的圆心坐标及各关键切点坐标、以及两图形连接点坐标看作所述触摸点相对所述第一待构建几何图形的关键几何信息;其中,所述第一待构建几何图形中每个圆角包括两个关键切点;各关键切点为所述圆角与相邻圆角以切线连接时对应的切点。
- 根据权利要求7所述的方法,其中,所述根据各所述关键几何信息,确定所述相邻触摸点对在所述擦除几何形态下构成的移动轮廓几何图形,包括:从所述相邻触摸点对的关键几何信息中提取所对应圆角矩形的圆角圆心坐标,选定外接轮廓构建所需的关键圆心点;获得基于各所述关键圆心点分别确定的关键圆形区域;从所述相邻触摸点对的关键几何信息中提取所对应圆角矩形的矩形顶点坐标以及中心点坐标,选定外接轮廓构建所需的关键连接点对;获得基于各所述关键连接点对分别确定的外接矩形区域,以及基于各所述矩形顶点坐标确定的顶点连接封闭区域;对各所述关键圆形区域、各所述外接矩形区域以及所述顶点连接封闭区域进行组合,形成所述相邻触摸点对相对所述圆角矩形构成的第一移动轮廓图形。
- 根据权利要求8所述的方法,其中,分析所述待擦除笔迹中包括的各笔迹点,将各所述笔迹点与所述移动轮廓几何图形进行命中测试,确定落入所述移动轮廓几何图形中的目标待擦除笔迹,包括:拆解所述第一移动轮廓图形,获得所述顶点连接封闭区域、以及相应数量 的外接矩形区域和关键圆形区域;针对所述待擦除笔迹包括的每个笔迹点,将所述笔迹点与所述顶点连接封闭区域及各所述外接矩形区域进行第一命中测试;如果第一命中测试成功,则将所述笔迹点添加至第一目标点集合;否则,将所述笔迹点与各所述关键圆形区域进行第二命中测试;如果第二命中测试成功,则将所述笔迹点添加至所述第一目标点集合;将基于所述第一目标点集合中各笔迹点形成的笔迹确定为落入所述移动轮廓几何图形中的目标待擦除笔迹。
- 根据权利要求9所述的方法,其中,所述将所述笔迹点与各所述外接矩形区域进行第一命中测试,包括:将所述顶点连接封闭区域与各所述外接矩形区域进行组合,获得相应的凸多边形区域,并获取构成所述凸多边形区域的各区域顶点;将所述笔迹点分别与各所述区域顶点连接,获得数量与所述区域顶点相同个的三角形;确定各所述三角形中以所述笔迹点构成顶角的角度值;如果各所述角度值之和为360度,则确定所述笔迹点的第一命中测试成功。
- 根据权利要求9所述的方法,其中,所述将所述笔迹点与各所述关键圆形区域进行第二命中测试,包括:获取各所述关键圆形区域的区域圆心以及区域半径,并确定所述笔迹点与各所述区域圆心的连线距离;如果存在小于相应区域半径的连线距离,则确定所述笔迹点的第二命中测试成功。
- 根据权利要求5所述的方法,在所述通过所获得的触摸点信息,确定触摸物在移动中匹配的擦除几何形态之后,还包括:当确定所述擦除几何形态为圆角矩形且监测到所述触摸物在设定时间内未发生移动时,确定所述触摸物在所述设定时间内接触所述显示屏时对应的静态 触摸点;基于所述静态触摸点的触摸点信息,确定相对所述静态触摸点的静态圆角矩形;将所述待擦除笔迹中包括的各笔迹点与所述静态圆角矩形进行命中测试,在所述界面中对落入所述静态圆角矩形中的待擦除笔迹进行擦除。
- 根据权利要求12所述的方法,其中,所述静态圆角矩形包括两个静态矩形区域以及四个静态圆形区域;相应的,所述将所述待擦除笔迹中包括的各笔迹点与所述静态圆角矩形进行命中测试,在所述界面中对落入所述静态圆角矩形中的待擦除笔迹进行擦除,包括:针对所述待擦除笔迹中的每个笔迹点,将所述笔迹点分别与两个静态矩形区域以及四个圆形区域进行命中测试;如果所述笔迹点满足命中测试成功的条件,则将所述笔迹点添加到静态点集合;对基于所述静态点集合中各笔迹点形成的笔迹进行擦除。
- 根据权利要求6所述的方法,其中,当所述擦除几何形态为圆形时,所述通过对所述相邻触摸点对所对应触摸点信息的分析,确定相邻触摸点对中各触摸点相对所述擦除几何形态的关键几何信息,包括:将所述圆形记作所述相邻触摸点对中各触摸点的第二待构建几何图形;通过所述相邻触摸点对中各触摸点所对应触摸点信息中的触摸点坐标、触摸宽度、触摸高度,确定相应第二待构建几何图形的圆形圆心坐标以及各关键交点坐标;将各触摸点对应的圆形圆心坐标以及各关键交点坐标看作相对所述第二待构建几何图形的关键几何信息。
- 根据权利要求14所述的方法,其中,所述通过所述相邻触摸点对中各触摸点所对应触摸点信息中的触摸点坐标、触摸宽度、触摸高度,确定相应第 二待构建几何图形的圆形圆心坐标以及各关键交点坐标,包括:通过所述相邻触摸点对中各触摸点所对应触摸点信息中的触摸点坐标、触摸宽度以及触摸高度,确定相应第二待构建圆形的圆形圆心坐标;连接相应的两圆形圆心坐标,获得圆心连线;过各所述圆形圆心坐标分别构建与所述圆心连线垂直的直线,获得各直线与相应第二待构建圆形相交后确定的关键交点坐标。
- 根据权利要求15所述的方法,其中,所述根据各所述关键几何信息,确定所述相邻触摸点对在所述擦除几何形态下构成的移动轮廓几何图形,包括:从所述相邻触摸点的关键几何信息中提取包含的圆形圆心坐标;获取基于各所述圆形圆心坐标确定的第二待构建几何图形区域;从所述相邻触摸点的关键几何信息中提取包含的各关键交点坐标;获得基于各所述关键交点坐标确定的关键交点连接区域;将各所述第二待构建几何图形与所述关键交点连接区域进行组合,形式所述相邻触摸点对相对所述圆形构成的第二移动轮廓图形。
- 根据权利要求16所述的方法,其中,分析所述待擦除笔迹中包括的各笔迹点,将各所述笔迹点与所述移动轮廓几何图形进行命中测试,确定落入所述移动轮廓几何图形中的目标待擦除笔迹,包括:拆解所述第二移动轮廓图形,获得一个关键交点连接区域以及两个第二待构建几何图形;针对所述待擦除笔迹包括的每个笔迹点,将所述笔迹点与所述关键交点连接区域进行第三命中测试;如果第三命中测试成功,则将所述笔迹点添加至第二目标点集合;否则,将所述笔迹点与各所述第二待构建几何图形,进行点与圆形区域的第四命中测试;如果第四命中测试成功,则将所述笔迹点添加至所述第二目标点集合;将基于所述第二目标点集合中各笔迹点形成的笔迹确定为落入所述移动轮 廓几何图形中的目标待擦除笔迹。
- 根据权利要求17所述的方法,其中,所述将所述笔迹点与所述关键交点连接区域进行第三命中测试,包括:当确定所述关键交点连接区域为矩形区域时,从所述矩形区域选定由一个顶点形成两个矩形边向量,通过将所述笔迹点与各所述矩形边向量的比对,进行所述笔迹点与所述矩形区域的命中测试;否则,基于所述关键交点连接区域的各顶点,确定与所述顶点数量相同的待比较边向量;通过将所述笔迹点与各所述待比较边向量的比对,进行所述笔迹点与所述矩形区域的命中测试。
- 根据权利要求6所述的方法,其中,所述当擦除几何形态为任意不规则图形时,所述通过对所述相邻触摸点对所对应触摸点信息的分析,确定相邻触摸点对中各触摸点相对所述擦除几何形态的关键几何信息,包括:将所述任意不规则图形记作所述相邻触摸点对中各触摸点的第三待构建几何图形,确定所述第三待构建几何图形中包含的组合图形信息;针对所述相邻触摸点对中的每个触摸点,通过所对应触摸点信息结合所述组合图形信息,确定所述第三待构建几何图形上相对所述触摸点存在的关键轨迹点以及所述第三待构建几何图形的图形表示信息;将各所述组合图形的图形表示信息以及各所述关键轨迹点看作所述触摸点相对所述第三待构建几何图形的关键几何信息。
- 根据权利要求19所述的方法,其中,所述通过所对应触摸点信息结合所述组合图形信息,确定所述第三待构建几何图形上相对所述触摸点存在的关键轨迹点以及所述第三待构建几何图形的图形表示信息,包括:分析所述组合图形信息;确定所述第三待构建几何图形中仅包含折线多边形时,通过所对应触摸点信息确定所述折线多边形相对所述触摸点存在的关键轨迹点,并获得表示所述 折线多边形的第一图形表示信息;确定所述第三待构建几何图形中包含折线多边形以及目标圆形时,通过所对应触摸点信息从所述折线多边形及关键圆形上确定关键轨迹点,并获得表示所述折线多边形和关键圆形的第二图形表示信息。
- 根据权利要求20所述的方法,其中,所述通过所对应触摸点信息确定所述折线多边形相对所述触摸点存在的关键轨迹点,并获得表示所述折线多边形的第一图形表示信息,包括:通过所对应触摸点信息中的触摸点坐标、触摸高度以及触摸宽度,确定作为第一图形表示信息的折线多边形的折线中心点坐标以及各折线顶点坐标;通过所述折线中心点坐标以及所对应触摸点信息,从各所述折线顶点坐标中选择满足轨迹点筛选条件的关键轨迹点。
- 根据权利要求20所述的方法,其中,所述通过所对应触摸点信息从所述折线多边形及关键圆形上确定关键轨迹点,并获得表示所述折线多边形和关键圆形的第二图形表示信息,包括:通过所对应触摸点信息中的触摸点坐标、触摸高度以及触摸宽度,确定所述折线多边形的折线中心点坐标和各折线顶点坐标、以及关键圆形的圆心点坐标及圆形半径,并作为第二图形表示信息;通过所述折线中心点坐标、圆心点坐标、圆形半径以及所对应触摸点信息,从所述关键圆形的圆周上以及各所述折线顶点坐标中选择满足轨迹点筛选条件的关键轨迹点。
- 根据权利要求20所述的方法,其中,所述根据各所述关键几何信息,确定所述相邻触摸点对相对所述擦除几何形态构成的移动轮廓几何图形,包括:从所述相邻触摸点对的关键几何信息中分别提取第一图形表示信息或第二图形表示信息;获得基于相应的第一图形表示信息或第二图形表示信息分别确定的组合几何图形;从所述相邻触摸点对的关键几何信息中分别提取关键轨迹点;获得基于各所述关键轨迹点连接形成的关键轨迹区域;将各所述组合几何图形与所述关键轨迹区域进行组合,形成所述相邻触摸点对相对所述任意不规则图形构成的第三移动轮廓图形。
- 根据权利要求23所述的方法,其中,所述分析所述待擦除笔迹中包括的各笔迹点,将各所述笔迹点与所述移动轮廓几何图形进行命中测试,确定落入所述移动轮廓几何图形中的目标待擦除笔迹,包括:拆解所述第三移动轮廓图形,获得所述关键轨迹区域及各所述组合几何图形;针对所述待擦除笔迹包括的每个笔迹点,如果组合几何图形仅为折线多边形,则将所述笔迹点与各所述折线多边形采用转角法进行转角命中测试;或者,如果组合几何图形包含折线多边形和关键圆形,则将笔迹点分别与各所述折线多边形及关键圆形采用距离法进行距离命中测试;在转角或者距离命中测试成功时将所述笔迹点添加至第三目标点集合;否则,将所述笔迹点与所述关键轨迹区域进行向量命中测试,并在向量命中测试成功时将所述笔迹点添加至第三目标点集合;将基于所述第三目标点集合中各笔迹点形成的笔迹确定为落入所述移动轮廓几何图形中的目标待擦除笔迹。
- 一种笔迹擦除装置,配置于交互平板,所述交互平板所配备触摸框的触摸响应精度达到设定精度范围,所述装置包括:显示模块,用于通过显示屏展示包含有待擦除笔迹的显示界面;触发模块,用于接收笔迹擦除指令,进入笔迹擦除模式,所述笔迹擦除指令通过用户的触发形成;获取模块,用于在触摸物触碰所述显示屏的表面并移动时,获得通过所述触摸框反馈的触摸点信息,所述触摸物由用户操控;擦除模块,用于通过对所获得触摸点信息以及所述待擦除笔迹的分析,采 用与所述触摸物相匹配的擦除几何形态对所述界面中的待擦除笔迹进行擦除。
- 一种交互平板,包括:触摸框,所具备的触摸响应精度,达到设定精度范围,用于通过包括的硬件电路响应触摸物的触摸操作;显示屏,与所述触摸框覆盖,构成触摸屏,用于进行交互内容的显示;一个或多个处理器;存储装置,用于存储一个或多个程序;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-24任一所述的方法。
- 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-24任一项所述的方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020237021725A KR20230109757A (ko) | 2021-05-20 | 2021-10-09 | 필적 소거 방법, 장치, 인터랙티브 태블릿 및 저장매체 |
EP21940459.7A EP4343542A1 (en) | 2021-05-20 | 2021-10-09 | Handwriting erasing method and apparatus, interactive tablet, and storage medium |
JP2023545828A JP2024504193A (ja) | 2021-05-20 | 2021-10-09 | 筆跡消去方法、装置、インタラクティブタブレット、及び記憶媒体 |
US18/370,253 US20240004537A1 (en) | 2021-05-20 | 2023-09-19 | Method and device for erasing handwriting, interactive board and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110554083.9 | 2021-05-20 | ||
CN202110554083.9A CN115373772A (zh) | 2021-05-20 | 2021-05-20 | 笔迹擦除方法、装置、交互平板及存储介质 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/370,253 Continuation US20240004537A1 (en) | 2021-05-20 | 2023-09-19 | Method and device for erasing handwriting, interactive board and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022242013A1 true WO2022242013A1 (zh) | 2022-11-24 |
Family
ID=84059032
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/122843 WO2022242013A1 (zh) | 2021-05-20 | 2021-10-09 | 笔迹擦除方法、装置、交互平板及存储介质 |
Country Status (6)
Country | Link |
---|---|
US (1) | US20240004537A1 (zh) |
EP (1) | EP4343542A1 (zh) |
JP (1) | JP2024504193A (zh) |
KR (1) | KR20230109757A (zh) |
CN (1) | CN115373772A (zh) |
WO (1) | WO2022242013A1 (zh) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100181121A1 (en) * | 2009-01-16 | 2010-07-22 | Corel Corporation | Virtual Hard Media Imaging |
CN109597528A (zh) * | 2019-01-10 | 2019-04-09 | 明基智能科技(上海)有限公司 | 触控系统 |
CN109643211A (zh) * | 2016-08-19 | 2019-04-16 | 微软技术许可有限责任公司 | 可调整数字擦除器 |
CN209281365U (zh) * | 2019-01-10 | 2019-08-20 | 明基智能科技(上海)有限公司 | 触控系统 |
-
2021
- 2021-05-20 CN CN202110554083.9A patent/CN115373772A/zh active Pending
- 2021-10-09 WO PCT/CN2021/122843 patent/WO2022242013A1/zh active Application Filing
- 2021-10-09 KR KR1020237021725A patent/KR20230109757A/ko active Search and Examination
- 2021-10-09 JP JP2023545828A patent/JP2024504193A/ja active Pending
- 2021-10-09 EP EP21940459.7A patent/EP4343542A1/en active Pending
-
2023
- 2023-09-19 US US18/370,253 patent/US20240004537A1/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100181121A1 (en) * | 2009-01-16 | 2010-07-22 | Corel Corporation | Virtual Hard Media Imaging |
CN109643211A (zh) * | 2016-08-19 | 2019-04-16 | 微软技术许可有限责任公司 | 可调整数字擦除器 |
CN109597528A (zh) * | 2019-01-10 | 2019-04-09 | 明基智能科技(上海)有限公司 | 触控系统 |
CN209281365U (zh) * | 2019-01-10 | 2019-08-20 | 明基智能科技(上海)有限公司 | 触控系统 |
Also Published As
Publication number | Publication date |
---|---|
EP4343542A1 (en) | 2024-03-27 |
CN115373772A (zh) | 2022-11-22 |
JP2024504193A (ja) | 2024-01-30 |
KR20230109757A (ko) | 2023-07-20 |
US20240004537A1 (en) | 2024-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9430093B2 (en) | Monitoring interactions between two or more objects within an environment | |
US8860675B2 (en) | Drawing aid system for multi-touch devices | |
US11511188B2 (en) | Virtual scene recognition and interaction key position matching method for application and computing device | |
US7342574B1 (en) | Method and apparatus for inputting information including coordinate data | |
CN104011629A (zh) | 用于能够进行基于触摸的输入的用户界面的经增强的目标选择 | |
KR20120009564A (ko) | 3차원 마우스 포인터 생성방법 및 생성장치 | |
KR20100063793A (ko) | 홀로그래픽 사용자 인터페이스 통신을 위한 방법 및 장치 | |
KR101735442B1 (ko) | 표시장치에서 객체의 오리엔테이션을 조작하기 위한 장치 및 방법 | |
CN103164022A (zh) | 多指触摸方法和装置、便携式终端设备 | |
US10444981B2 (en) | Digital-marking-surface space and display management | |
JP6035971B2 (ja) | 情報処理装置、プログラム及び画像処理システム | |
US10129335B2 (en) | Method and system for dynamic group creation in a collaboration framework | |
CN104778008A (zh) | 基于屏幕管控的虚拟书写系统 | |
WO2021077539A1 (zh) | 图形调整方法、装置、设备及存储介质 | |
CN107797752A (zh) | 书写笔迹的呈现方法及装置、交互智能平板及存储介质 | |
WO2022242011A1 (zh) | 书写笔迹的呈现方法、装置、交互平板及存储介质 | |
WO2022242013A1 (zh) | 笔迹擦除方法、装置、交互平板及存储介质 | |
CN102004584A (zh) | 有源笔定位显示方法及装置 | |
CN103914174A (zh) | 信息处理装置、信息处理方法、以及程序存储介质 | |
WO2017117658A1 (en) | Method and system to port multi device workspace data | |
US11809701B2 (en) | Handwriting forming method and apparatus, and electronic device | |
WO2023065939A1 (zh) | 一种触控响应方法、装置、交互平板及存储介质 | |
US20240020893A1 (en) | Handwriting Forming Method and Apparatus, and Electronic Device | |
US11256399B2 (en) | Information processing apparatus and non-transitory computer readable medium | |
US20130278603A1 (en) | Method, Electronic Device, And Computer Readable Medium For Distorting An Image On A Touch Screen |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21940459 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 20237021725 Country of ref document: KR Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2023545828 Country of ref document: JP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2021940459 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2021940459 Country of ref document: EP Effective date: 20231220 |