Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for realizing soft pen based on touch screen

An implementation method and soft pen technology, which are applied in the input/output process of data processing, instruments, calculations, etc., and can solve problems such as increased delay time, impact on user experience, and increased computing time.

Active Publication Date: 2018-07-06
ANHUI HONGCHENG OPTO-ELECTRONICS CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In addition, when there are too many sampled data and you want to keep the drawn lines without distortion, the calculation time will also increase accordingly.
During the drawing process, as new data is continuously acquired, the drawn line segment will be continuously updated. The existing technology for curve optimization calculation of the line segment is generally calculated from the starting point of drawing, and the starting point will be recalculated every time the calculation process is performed. To the line segment between the current point and optimize it, when the amount of data is too large, the running speed of the system will slow down, the delay time will increase, and the user experience will be affected

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
  • A method and device for realizing soft pen based on touch screen
  • A method and device for realizing soft pen based on touch screen
  • A method and device for realizing soft pen based on touch screen

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0094] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0095] see figure 1 As shown, the present invention provides a kind of soft pen realization method based on touch screen, specifically comprises the following steps:

[0096] Step 1. Acquire data on the contact surface with the touch screen. The data includes the actual velocity value of the current point and the coordinate position of the current point.

[0097] As an embodiment of the present invention, the hardware device in contact with the touch screen is a stylus. There are two sensing points on the tip of the stylus. The midpoint of the line connecting the two sensing points is the coordinate of the current point. Location. As an example, the coordinate position is a dynamic value, and each pixel on the screen co...

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 soft pen drawing method and device based on a touch screen, which adjusts the width of a drawn line through the size of the speed. Through the key point algorithm, the path is optimized with the Bezier curve, and the line segment is solidified and drawn incrementally on the optimized path. The method and device provided by the present invention are drawn by simulating a soft pen. Such a drawing method makes the drawn images more realistic and real-time, the whole drawing process is very real, and the user feels good during the drawing process.

Description

technical field [0001] The soft pen realization field that the present invention relates to particularly refers to a touch screen-based soft pen realization method and device. Background technique [0002] Currently, drawing with a touch screen is a very common way of drawing. In the prior art, the sampling line is generally smoothed by sampling the coordinate position of the input data, and then performing curve optimization on the sampled data. In the prior art, the width of the drawn line segment is generally fixed, and the thickness of the drawn line can only be selected through a preset value, and cannot be performed synchronously with the drawing process. In real life, when people draw or write with a soft pen (such as a brush or other pens with a soft tip), the thickness of the pen end is not a fixed width during the drawing process. [0003] In addition, when there are too many sampled data and you want to keep the drawn lines without distortion, the calculation ti...

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 Patents(China)
IPC IPC(8): G06F3/0488
Inventor 李俊峰
Owner ANHUI HONGCHENG OPTO-ELECTRONICS CO LTD