Method for generating stroke and processing device for generating stroke

A processing device and pen-style technology, applied in the direction of electrical digital data processing, input/output process of data processing, instruments, etc., can solve problems such as large amount of calculation and complicated calculation method, and achieve improved fidelity, good simulation effect, high Effects of smoothness and realism

Active Publication Date: 2020-05-12
JIANGSU ODIN ELECTRONICS TECH
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The method includes: acquiring a touch point; the touch point is a plurality of points triggered by handwriting events on the interactive smart flat touch screen; calculating the width of the touch point, and the skeleton line of the handwriting corresponding to the touch point; determining the outline of the handwriting; the outline is based on The width of the touch point is calculated; get the inflection point in the contour line, and generate the Bezier curve corresponding to the inflection point as the smoothed contour line; the direction of the Bezier curve is determined by the direction of the skeleton line; draw according to the smoothed contour line Handwriting; although this scheme can generate strokes, the disadvantage of this scheme is that the calculation amount is large and the calculation method is relatively complicated

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 for generating stroke and processing device for generating stroke
  • Method for generating stroke and processing device for generating stroke
  • Method for generating stroke and processing device for generating stroke

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] combine figure 1 As shown, a method for generating strokes of the present invention obtains and stores the coordinate value of each touch point and the number n of touch points; when n≥4, calculate the width values ​​of the last four touch points, and then calculate The coordinate value and width value of each touch point draws a contour line, and then fills the blank area surrounded by the contour line according to the preset color to generate a stroke. It is worth noting that when n<4, no processing is performed on the touch point; the stroke can be generated by the above method, the calculation is simple and easy to implement, and the generated stroke has high fidelity, so that the handwriting effect of writing can be obtained.

[0035] A kind of method of generating stroke of the present invention, concrete steps are as follows:

[0036] 1) Obtain the coordinate value and quantity of the touch point

[0037] When drawing handwriting on the touch screen, obtain and...

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

The invention discloses a method for generating a stroke and a processing device for generating stroke, and belongs to the technical field of electronic handwriting. The method comprises the followingsteps: obtaining and storing a coordinate value of each touch point and the number n of the touch points; and when n is greater than or equal to 4, calculating the width values of the last four touchpoints, drawing a contour line according to the coordinate values and the width values of the last four touch points, and filling a blank area surrounded by the contour line according to a preset color to obtain a pen point. The processing device for generating the stroke comprises an acquisition module, a calibration module, a calculation module and a processing module, the calculation module and the acquisition module are connected with the calibration module, and the calculation module and the drawing module are connected with the processing module. The invention aims to overcome the defect that in the prior art, the electronic handwriting is lack of the pen point, the pen point of the handwriting can be generated, and the generated pen point can have a better simulated writing effect.

Description

technical field [0001] The invention relates to the technical field of electronic handwriting, and more specifically, to a method and a processing device for generating strokes. Background technique [0002] Along with popularizing of computer equipment, utilizing computer equipment to carry out character input has become a part of people's daily life. In the field of interactive smart panels, handwriting function, as one of the more and more important functions of interactive smart panels, has been widely used in people's work and study, which greatly improves people's work and study effects; users can Drawing and writing operations are performed by touching or writing tools on the operation interface of the electronic device. For example, in a teaching scenario, a teacher can write in handwriting on the current interactive smart tablet, and students can watch the handwriting written by the teacher through the interactive smart tablet. [0003] At present, the traditional...

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): G06F3/0488G06K9/00
CPCG06F3/04883G06F2203/04808G06V30/32
Inventor 宋雅峰
Owner JIANGSU ODIN ELECTRONICS TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products