Handwriting erasing method and apparatus
A handwriting and line segment technology, applied in the field of computer graphics processing, can solve the problems of stagnation of image screen, slow search speed, low efficiency, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] see figure 1 Shown is the schematic flow sheet of the method embodiment one of handwriting erasing of the present invention, and it comprises steps:
[0029] Step S101: Divide the handwriting into several line segments, and proceed to Step S102;
[0030] Step S102: judging whether one of the line segments intersects the erasing area, if yes, proceed to step S103, if not, proceed to step S104;
[0031] Step S103: Determine that the handwriting intersects with the erasing area and can be erased;
[0032] Step S104: Determine that the handwriting does not intersect with the erasing area and cannot be erased.
[0033] According to the solution in this embodiment, when the handwriting is divided into several line segments, as long as any line segment intersects with the erasing area, it means that the handwriting intersects with the erasing area, that is, at least one point on the handwriting is located in the erasing area. In this area, the handwriting can be deleted. If...
Embodiment 2
[0036] see figure 2 Shown is a schematic flow chart of Embodiment 2 of the method for erasing handwriting of the present invention.
[0037] The main difference between this embodiment and the above-mentioned first embodiment is that it further specifies the way of judging whether there is a line segment intersecting with the erasing area in each line segment, and first checks whether there is a line segment located at the end point of each line segment after division. The endpoints in the erasing area are judged, and then it is judged whether there is a bounding box intersecting the erasing area in the bounding box formed by each line segment, and finally whether the vertices of the erasing area are located on both sides of the line segment.
[0038] Such as figure 2 Shown, the method for the handwriting erasure in the present embodiment specifically comprises steps:
[0039] Step S201: Divide the handwriting into several line segments, and proceed to Step S202;
[0040]...
Embodiment 3
[0052] see image 3 Shown is a schematic flow chart of Embodiment 3 of the method for erasing handwriting of the present invention.
[0053] The main difference between this embodiment and the above-mentioned first embodiment is that it further specifies the way of judging whether there is a line segment intersecting the erasing area among each line segment, and judges each line segment in turn, starting from the initial line segment, First judge whether one of the two endpoints of the line segment is within the erasing area, then determine whether the bounding box formed by the line segment intersects the erasing area, and finally determine whether the vertices of the erasing area are located in the area of the line segment On both sides, after the judgment of the line segment is completed, the next line segment is judged.
[0054] Such as image 3 Shown, the method for the handwriting erasure in the present embodiment specifically comprises steps:
[0055] Step S301: Di...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com