Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Inactive Publication Date: 2013-03-27
HANVON CORP
View PDF2 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] For drawing line segments, since the adjacent round brush areas have many common pixels, anti-aliasing lines are drawn through the movement of the round brush, and the common parts are drawn many times during the movement of the brush, which requires a large amount of calculation; the round brush The pixel values ​​of adjacent points above do not change smoothly, which is not beautiful

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for drawing electronic handwriting
  • Method and device for drawing electronic handwriting
  • Method and device for drawing electronic handwriting

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

An embodiment of the invention discloses a method and a device for drawing electronic handwriting and relates to the field of computer graphic processing. By the method and the device, calculating amount is reduced, and drawn handwriting is more attractive in appearance. The method includes acquiring preset amount of handwriting points from handwriting input by a user, and determining an endpoint of at least one line segment forming the handwriting and sequentially connected; determining a first circle brushing area by using the endpoint as the circle center, determining initial color weight of pixel points in the first circle brushing area, and acquiring the next circle center along the line segment at a preset interval to determine a second circle brushing area; drawing all pixel points, which are not covered by the second circle brushing area, in the first circle brushing area, and determining and saving color weight of pixel points in the second circle brushing area; and repeatedly determining the second circle brushing area, and drawing corresponding circle brushing areas corresponding to circle centers.

Description

technical field [0001] The invention relates to the field of computer graphics processing, in particular to an electronic handwriting drawing method and device. Background technique [0002] Since the boundary of the graphics is composed of a series of discrete pixels with the same brightness as the corresponding graphics on the raster graphics display, the distortion caused by the discrete quantity representing the continuous quantity is called aliasing. The technique used to reduce or eliminate this effect is called anti-aliasing. There are two common anti-aliasing methods, improving resolution and area sampling. Among them, the cost of hardware to increase the resolution is too high, and the aliasing effect cannot be eliminated but can only be reduced, so the more commonly used method is to use area sampling to achieve it. [0003] At present, in order to realize online drawing and ensure that the joints of two line segments in different directions are smooth, the drawi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T11/80
Inventor 肖超邹明福
Owner HANVON CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products