Method, device and equipment for generating saw-free signature picture
A technology of pictures and signature pens, which is applied in the computer field, can solve the problems of fuzzy signature pictures and obvious jaggedness, etc., and achieve the effect of convenient application, simple calculation, and enhanced application range
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] This embodiment provides a method, such as figure 1 Shown, comprise; First aspect, the present invention provides a kind of method, comprising:
[0037] Step 1. Collect the position and pressure value of each point of the signature pen from pressing to lifting;
[0038] Step 2. Only keep the point with the highest pressure value for the repeated points, and then calculate each point based on its forward direction to calculate the vertical line segment of the point. The line segment is centered on this point. value to get the length; the points at both ends of the vertical line segment are track points;
[0039] Step 3. Based on the forward direction on the trajectory point, extend a line segment with a set length, and the two endpoints of the line segment are control points;
[0040] Step 4. Use the calculated control points as the control points of the cubic Bezier curve, connect the trajectory points to form a closed curve, and fill it.
[0041] Step 5. Record the ...
Embodiment 2
[0044] In this embodiment, a device is provided, such as figure 2 shown, including:
[0045] The collection module collects the position and pressure value of each point of the signature pen from pressing to lifting;
[0046] The trajectory point module only needs to keep the point with the largest pressure value for the repeated points, and then calculates each point based on its forward direction to calculate the vertical line segment of the point. The line segment is centered on this point. The length of the vertical line segment is based on the set rules. The length is obtained from the pressure value; the points at both ends of the vertical line segment are the track points;
[0047] The control point module extends a line segment of a set length based on the forward direction on the trajectory point, and the two endpoints of the line segment are control points;
[0048] The filling module uses the calculated control points as the control points of the cubic Bezier cur...
Embodiment 3
[0053] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, any implementation manner in Embodiment 1 can be implemented.
[0054]Since the electronic device introduced in this embodiment is the device used to implement the method in Embodiment 1 of this application, based on the method described in Embodiment 1 of this application, those skilled in the art can understand the electronic device of this embodiment. Specific implementation methods and various variations thereof, so how the electronic device implements the method in the embodiment of the present application will not be described in detail here. As long as a person skilled in the art implements the equipment used by the method in the embodiment of the present application, it all belongs to the protection scope of the present application.
[0055] The present inventi...
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