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

A method and system for implementing an eraser capable of erasing strokes in a local area of ​​the top layer

A local area and implementation method technology, applied in the field of human-computer interaction, to achieve the effect of improving painting editing efficiency and improving painting erasing experience

Active Publication Date: 2022-06-07
HARBIN INST OF TECH SHENZHEN GRADUATE SCHOOL
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the above technical problems, the present invention discloses a method and system for realizing an eraser capable of erasing strokes in a local area of ​​the top layer, which solves the problem of eraser erasing methods in image editing or electronic whiteboard drawing, and provides a more natural The implementation method of the eraser that can erase the strokes in the local area of ​​​​the top layer

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 system for implementing an eraser capable of erasing strokes in a local area of ​​the top layer
  • A method and system for implementing an eraser capable of erasing strokes in a local area of ​​the top layer
  • A method and system for implementing an eraser capable of erasing strokes in a local area of ​​the top layer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0079] The preferred embodiments of the present invention will be further described in detail below.

[0080] like figure 1 As shown, an eraser implementation method for erasing strokes in a top-level local area includes the following steps:

[0081] Step S1, establishing a pixel index list; specifically, step S1 includes the following sub-steps:

[0082] Sub-step S11, according to the resolution of the drawing interface, obtain the actual pixel width and pixel height of the drawing interface;

[0083] Sub-step S12, open up and draw a one-dimensional array space as a pixel index list, the space size is equal to the total pixel size of the drawing interface, and initialize the pixel index list;

[0084] In sub-step S13, two new stroke lists are created, which are the original collection stroke list and the interpolation smooth stroke list respectively.

[0085] Step S2, collecting the original point set of the user's drawing process through the touch screen, and then perform...

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 present invention provides a method and system for realizing an eraser capable of erasing strokes in a local area of ​​the top layer. The method includes the following steps: step S1, establishing a pixel point index list; step S2, collecting the original point of the user's drawing process through the touch screen set, and then interpolate between the original strokes; step S3, calculate the coverage area of ​​the eraser, and find the top-level stroke point information that needs to be deleted according to the coverage area of ​​the eraser; step S4, according to the deleted stroke segment, the stroke Delete the local area; step S5, reconstruct the deleted strokes, update the pixel index list, and redraw the deleted strokes; when the user draws, when the drawing of a stroke is finished, perform the above step S2; the user uses the eraser When erasing, repeat steps S3 to S5 until the user stops erasing with the eraser. By adopting the technical solution of the invention, layered processing and partial erasing are realized, and painting editing efficiency is improved.

Description

technical field [0001] The invention belongs to the technical field of human-computer interaction, and in particular relates to an eraser implementation method and system for erasing strokes in a top-level local area. Background technique [0002] With the rapid development of digital and electronic products in recent years, a large number of touch screen terminal products have been produced, and have been recognized and welcomed by the majority of users. The traditional way of writing and painting on paper has limitations in time and space. In the era of large screens, users are more inclined to write and paint on electronic devices anytime, anywhere. Under this situation and demand, it has become an urgent need for a wide range of end users to develop a writing and painting method that is more efficient, more convenient, and more in line with user habits and styles. [0003] With the continuous improvement of handwritten painting in recent years, the current painting tech...

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
IPC IPC(8): G06F3/04845G06F3/0488G06T11/00G06T11/60
CPCG06F3/04845G06F3/0488G06T11/001G06T11/60
Inventor 陈清财吴湘平
Owner HARBIN INST OF TECH SHENZHEN GRADUATE SCHOOL