Method and device for drawing electronic handwriting
A handwriting and electronic technology, applied in the direction of using manual input to modify/create images, etc., can solve problems such as unsightly, large amount of calculation, and unsmooth change of pixel value, and achieve large amount of calculation, beautiful anti-aliasing line, and reduce the amount of calculation. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] A kind of electronic handwriting drawing method that the embodiment of the present invention provides, such as figure 1 shown, including:
[0030] 101. Collect a preset number of handwriting points from the handwriting input by the user, and determine the endpoints of each line segment composing the handwriting according to the handwriting points; the line segment is at least one, and is sequentially connected with the handwriting points as endpoints.
[0031] During the handwriting input process, handwriting points are collected in real time, and at least three handwriting points are cached. The handwriting points can be obtained by collecting movement information of a mouse or movement information of an input device such as a stylus. Before drawing handwriting, it is first necessary to determine a curve equation based on the collected handwriting points. In this embodiment, four handwriting points need to be obtained as four control points of the B-spline, a curve e...
Embodiment 2
[0098] Based on the electronic handwriting drawing method provided in Embodiment 1, Embodiment 2 of the present invention provides an electronic handwriting drawing device, such as Image 6 As shown, the device includes:
[0099] The line segment determination unit 61 is used to collect a preset number of handwriting points from the handwriting input by the user, and determine the endpoints of each line segment that forms the handwriting according to the handwriting points; the line segment is at least one, and the handwriting point is the endpoint connect sequentially;
[0100] The circular brush area determination unit 62 is configured to take one end point of each line segment as the center of the circle, and determine the first circular brush area and the initial color weight of each pixel on the first circular brush area, and the interval along the line segment The next point obtained by the preset step length is the center of the circle, and the second circle brush area...
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