CN109407954A - A kind of method for deleting and system of handwriting trace - Google Patents
A kind of method for deleting and system of handwriting trace Download PDFInfo
- Publication number
- CN109407954A CN109407954A CN201811058564.5A CN201811058564A CN109407954A CN 109407954 A CN109407954 A CN 109407954A CN 201811058564 A CN201811058564 A CN 201811058564A CN 109407954 A CN109407954 A CN 109407954A
- Authority
- CN
- China
- Prior art keywords
- erasing
- current
- handwriting trace
- array
- track
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/80—Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/32—Digital ink
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Position Input By Displaying (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of method for deleting of handwriting trace and systems, are related to information science technology field.This method are as follows: when judging the current action of user for erasing move, newly-increased track is stored as track array object, the point bit array of original handwriting trace is depicted as the picture that curve saves as png format simultaneously, then, the region passed through according to input trajectory, the picture of original handwriting trace is subjected to erasing processing, and handwriting trace carries out real-time display by treated.This method advantage are as follows: apparatus for writing has multiple-working mode, and whether it is erasing move that this method for deleting can judge automatically currently according to the input mode of user;Selective erase can be carried out to existing handwriting trace, meet user's use habit;It can be adapted for being write and being shown in ink screen, ink screen has the characteristics that not hurt eye, good hand touch.
Description
Technical field
The present invention relates to information science technology field more particularly to the method for deleting and system of a kind of handwriting trace.
Background technique
In education sector, homework be consolidate knowledge, essential link of studying in order to practise.With development in science and technology, religion
The operation and practice for educating field gradually push with no paper at all.
Operating efficiency can be greatly improved, due to different from liquid crystal display, ink screen equipment there will not be student eyesight etc.
Injury.So carrying out the distribution of operation in education sector using ink screen equipment, practicing and correct, obtained widely pushing away
Extensively, operating efficiency is greatly improved.
It is feature-rich due to tablet computer, it is convenient for classroom interactions, so, teacher side is then suitble to use tablet computer.In order to
The efficiency that teacher carries out the work such as work correction using tablet computer is improved, needs to carry out hand-written and erasing behaviour on tablet computer
When making, as far as possible on paper material operate when feel, operating experience it is similar, and can satisfy user input demand, with
Hand annotation habit in family is consistent.
But existing hand-written method for deleting, it is mainly used in the liquid crystal displays such as electronic blackboard, mobile phone or the hand of other screens
On write device, and when carrying out hand-written erasing on devices, it is primarily present following defect: cannot identifies the handwriting and generate person's handwriting pair
As, and can identify the handwriting and generate person's handwriting object, then it needs to carry out handwriting inspection by establishing the complicated algorithms such as boundary rectangle
It surveys, so that the operating time is long, cannot achieve the real-time display of erasing effect, in addition, applicable device type has biggish limitation,
And have inefficient.
Summary of the invention
The purpose of the present invention is to provide a kind of method for deleting of handwriting trace and systems, to solve to deposit in the prior art
Foregoing problems.
To achieve the goals above, The technical solution adopted by the invention is as follows:
A kind of method for deleting of handwriting trace, includes the following steps:
Step 1, current action of writing is obtained;
Step 2, judge whether current action of writing is erasing move, if it is, forming the erasing track of this input
Subsequent step is stored and executed, otherwise, gos to step 6;
Step 3, original handwriting trace is saved as into png picture;
Step 4, the region passed through of erasing track inputted according to this, on png picture to original handwriting trace into
Row erasing, the png picture after being wiped;
Step 5, the png picture after erasing is shown.
Preferably, step 1 specifically: handwriting equipment obtains user's input by the perception to pressure and currently inputs institute
The material information used, wherein user's input includes action mode and/or action of writing, and action of writing is rendered as two dimension
The track of plane, is stored as the point set array that element is two-dimensional coordinate, and the array only has limited point.
It is preferably, described to judge whether current action of writing is erasing move in step 2, specifically: obtain current system
State and collected user input information, carry out operation class according to current touch material, type of gesture and position, system mode
The differentiation of type;
Wherein, current touch material includes pen tip or pen cap, and in the case where unlike material, operation includes writing and wiping
It removes;Current track type include individually point or track lines, current track position include can writing position or button position, root
Judge whether current action is click action according to type of gesture and position, will write or erasing move is interacted with user interface switching
Movement distinguishes;Current system conditions include rough draft state or non-rough draft state, and the operation under different conditions will be in difference
Figure layer on carry out.
Preferably, in step 2, the erasing track for forming this input specifically: in erasing move, will collect
Track be saved in erasing track array in, the element in the array is two-dimensional point coordinate, and adds person's handwriting region, movement
Type adds other attributes according to system situation, as one can operation object stored.
Preferably, step 3 specifically: before detecting erasing move, handwriting trace is limited under two-dimensional coordinate system
The dotted line of point composition, when detecting erasing move, is adjusted the format of handwriting trace, and the point array formats of vector are turned
It is changed to the curvilinear figure drawn, all lines relevant on current painting canvas are merged, as two-dimensional png picture format.
Preferably, described that the point array formats of vector are converted into the curvilinear figure drawn, with the following method into
Row is implemented:
A1 creates a painting canvas, the content in painting canvas is emptied;
A2 obtains array where all points;
A3 establishes the mapping relations between point and the diameter of point, and as an object array, each element in array is
One drawing path, the drawing path have width attribute, and include a queue, and the element in queue is that front collects
Point;
A4 traverses current written handwriting storage array, obtains a handwriting trace lines;
A5 creates the mapping relations of a width;
A6 traverses current handwriting trace lines, obtains a point in lines;
The point is added in the queue if the point is consistent with the mapping relations width for being presently in reason by A7;If not being consistent,
After mapping relations array then is added in current mapping relations, a width mapping relations are created, and queue is added in the point;
A8, if current line, which does not traverse, to be terminated, circulation executes A6~A7, until current line traversal terminates, otherwise enters A9;
A9, if current written handwriting storage array, which does not traverse, to be terminated, circulation executes A4~A8, until current written handwriting traverses
Terminate, otherwise enters A 10;
A 10 currently has been obtained for the width array of all the points, traverses width array, carries out each having same widths
Path drawing, complete the drafting of curvilinear figure.
Preferably, step 4 specifically: erasing track is portrayed as smooth curve in painting canvas, and by the png in painting canvas
Picture carries out region editing, and the erasing of handwriting trace is realized in the region that removal erasing track is passed through.
Preferably, it is further comprised the steps of: after step 5 and the handwriting information after erasing is uploaded onto the server.
A kind of erasing system of handwriting trace, comprising: clipboard writes control unit, storage control unit, display control
Unit and display screen;
The clipboard is used to obtain current action of writing, including uses writing pencil or finger to touch plate face, and in plate face
Upper movement;
The writing control unit touches material information, and judge for obtaining the operational motion track that clipboard obtains
Current action type;
The storage control unit is used to original handwriting trace saving as png picture, is also used to obtain erasing track, and
According to erasing track institute through region, original handwriting trace is wiped;
The display control unit transmits it to display screen for obtaining the updated image of storage control unit;
The display screen is for showing updated image.
The beneficial effects of the present invention are: the method for deleting of handwriting trace provided in an embodiment of the present invention, judges working as user
When preceding movement is erasing move, newly-increased track is stored as track array object, while by the point bit array of original handwriting trace
It is depicted as the picture that curve saves as png format, then, according to the region that input trajectory passes through, by the figure of original handwriting trace
Piece carries out erasing processing, and handwriting trace carries out real-time display by treated.This method advantage are as follows: (1) apparatus for writing has
Multiple-working mode, whether it is erasing move, (2) sheet that this method for deleting can judge automatically current according to the input mode of user
Method can carry out selective erase to existing handwriting trace, meet user's use habit, (3) this method can be adapted in ink
Water screen is write and is shown that ink screen has the characteristics that not hurt eye, good hand touch.
Detailed description of the invention
Fig. 1 is the method for deleting flow diagram of handwriting trace provided in an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing, to the present invention into
Row is further described.It should be appreciated that the specific embodiments described herein are only used to explain the present invention, it is not used to
Limit the present invention.
Embodiment one
As shown in Figure 1, including the following steps: the embodiment of the invention provides a kind of method for deleting of handwriting trace
Step 1, current action of writing is obtained;
Step 2, judge whether current action of writing is erasing move, if it is, forming the erasing track of this input
Subsequent step is stored and executed, otherwise, gos to step 6;
Step 3, original handwriting trace is saved as into png picture;
Step 4, the region passed through of erasing track inputted according to this, on png picture to original handwriting trace into
Row erasing, the png picture after being wiped;
Step 5, the png picture after erasing is shown.
Wherein, step 1 is specifically as follows: handwriting equipment obtains user's input and current input by the perception to pressure
Used material information, wherein user's input includes action mode and/or action of writing, and action of writing is rendered as two
The track of dimensional plane, is stored as the point set array that element is two-dimensional coordinate, and the array only has limited point.
It is described to judge whether current action of writing is erasing move in step 2, it is specifically as follows: obtains current system shape
State and collected user input information, carry out action type according to current touch material, type of gesture and position, system mode
Differentiation;
Wherein, current touch material includes pen tip or pen cap, and in the case where unlike material, operation includes writing and wiping
It removes;Current track type include individually point or track lines, current track position include can writing position or button position, root
Judge whether current action is click action according to type of gesture and position, will write or erasing move is interacted with user interface switching
Movement distinguishes;Current system conditions include rough draft state or non-rough draft state, and the operation under different conditions will be in difference
Figure layer on carry out.
In step 2, the erasing track for forming this input is specifically as follows:, will be collected in erasing move
Track is saved in erasing track array, and the element in the array is two-dimensional point coordinate, and adds person's handwriting region, acts class
Type adds other attributes according to system situation, as one can operation object stored.
Step 3 is specifically as follows: before detecting erasing move, handwriting trace is limited group under two-dimensional coordinate system
At dotted line, when detecting erasing move, the format of handwriting trace is adjusted, the point array formats of vector are converted to
The curvilinear figure drawn merges all lines relevant on current painting canvas, as two-dimensional png picture format.
It is described that the point array formats of vector are converted into the curvilinear figure drawn, reality can be carried out with the following method
It applies:
A1 creates a painting canvas, the content in painting canvas is emptied;
A2 obtains array where all points;
A3 establishes the mapping relations between point and the diameter of point, and as an object array, each element in array is
One drawing path, the drawing path have width attribute, and include a queue, and the element in queue is that front collects
Point;
A4 traverses current written handwriting storage array, obtains a handwriting trace lines;
A5 creates the mapping relations of a width;
A6 traverses current handwriting trace lines, obtains a point in lines;
The point is added in the queue if the point is consistent with the mapping relations width for being presently in reason by A7;If not being consistent,
After mapping relations array then is added in current mapping relations, a width mapping relations are created, and queue is added in the point;
A8, if current line, which does not traverse, to be terminated, circulation executes A6~A7, until current line traversal terminates, otherwise enters A9;
A9, if current written handwriting storage array, which does not traverse, to be terminated, circulation executes A4~A8, until current written handwriting traverses
Terminate, otherwise enters A 10;
A 10 currently has been obtained for the width array of all the points, traverses width array, carries out each having same widths
Path drawing, complete the drafting of curvilinear figure.
Step 4 is specifically as follows: erasing track being portrayed as smooth curve in painting canvas, and the png in painting canvas is schemed
Piece carries out region editing, and the erasing of handwriting trace is realized in the region that removal erasing track is passed through.
It can be comprising steps of the handwriting information after erasing be uploaded onto the server after step 5.
Embodiment two
The embodiment of the invention provides a kind of erasing systems of handwriting trace, comprising: clipboard writes control unit, deposits
Store up control unit, display control unit and display screen;
The clipboard is used to obtain current action of writing, including uses writing pencil or finger to touch plate face, and in plate face
Upper movement;
The writing control unit touches material information, and judge for obtaining the operational motion track that clipboard obtains
Current action type;
The storage control unit is used to original handwriting trace saving as png picture, is also used to obtain erasing track, and
According to erasing track institute through region, original handwriting trace is wiped;
The display control unit transmits it to display screen for obtaining the updated image of storage control unit;
The display screen is for showing updated image.
The method for deleting of the erasing system can be found in the description in embodiment one, and details are not described herein.
Specific embodiment
The embodiment of the invention provides a kind of method for deleting of handwriting trace, may include steps of:
Step 1, apparatus for writing obtains the current action of user.
Apparatus for writing includes clipboard and writes control unit, and it is dynamic to the operation of apparatus for writing that clipboard obtains user
Make, including uses writing pencil or finger to touch plate face, and move in plate face.It writes control unit judgement and touches material, obtain
The motion track of writing pencil;
The clipboard uses ink screen equipment, and hand-written texture and visual experience and the hand-written experience of papery are similar.Ink screen
Equipment due to not splashette, the features such as not shining, there is protective effect to the eyesight of user, be very suitable for the application of education sector.
And ink screen input equipment, the glass surface without LCD screen can be according to pen pressure, written residence time when writing
Deng fine tuning writing line thickness, so as to improve the calligraphy level of user.
Step 2, the operational motion track that writing control unit acquisition clipboard obtains, the information such as touch material, and according to
The integrated informations such as control unit status judge current action type.If current action type is erasing move, walked
Rapid 3, if not erasing move, then after to other of handwriting trace processing, display equipment carries out the display of handwriting;
Specific explanations are made below for the judgment method of above-mentioned type of action.Movement in this system may be write or
Erasing move, it may be possible to rough draft or answer movement.Thus the movement of this system can be divided into following four combination: in draft mode
Under action of writing, under draft mode erasing move, in the action of writing under answer mode, the erasing under answer mode
Movement.
Therefore, when detecting the interface operation on hardware, the type of operation is detected and is classified.The present embodiment
In, the method that detection and classification to input action use detection current state first, current state can be in answer
Mode or draft mode, this can be used family and preselects on system operatio interface, in advance will when capturing input
Current state is added in the object of input, increases input type or status attribute to the object, for subsequent processing resolution.
Since the operation write and wiped is more frequent, the mode for continuing to use state selection, which distinguishes, will increase user
Click volume, to make troubles to user's operation.Another method has been used in the present embodiment to be write and wiped
It distinguishes: writing pencil switching.In the present embodiment, the writing pencil that input equipment uses is respectively provided with nib and pen cap both ends.Work as writing
When plate collects nib input, input type is judged as action of writing;When clipboard collects the input of pen cap, will input
Type is judged as erasing move.
This system realizes the classification and Detection of four kinds of movements as a result,.
Step 3, original handwriting trace is saved as the picture of png format by storage control unit, specifically:
The initial data of in store every track in the storage control unit.The track initial data carries out every time
When action of writing, clipboard and writes the point array formats that are arranged of control unit and attached the information such as position, type
Object.In this step, storage control unit draws initial data, and the image after drafting is converted to png lattice
The picture of formula.
The method for drafting, specifically:
(1) painting canvas is created, the content in painting canvas is emptied.
(2) array where obtaining all points.
(3) mapping relations between point and the diameter of point are established, as an object array.Each element in array is
One drawing path, the drawing path have width attribute, and include a queue, and the element in queue is that front collects
Point.
(4) it traverses current written handwriting and stores array, obtain a handwriting trace lines.
(5) mapping relations of a width are created.
(6) current handwriting trace lines are traversed, a point in lines is obtained.
(7) if the point is consistent with the mapping relations width for being presently in reason, which is added in the queue;If not being consistent,
After mapping relations array then is added in current mapping relations, a width mapping relations are created, and queue is added in the point.
(8) terminate if current line does not traverse, circulation executes (6)~(7).Otherwise enter (9).
(9) terminate if current written handwriting storage array does not traverse, circulation executes (4)~(8), otherwise enters (10).
(10) the width array of all the points is currently had been obtained for.Width array is traversed, carries out that each there are same widths
Path drawing.
(11) rendering algorithm is finished.
The method for being converted to picture, specifically: the painting canvas that storage control unit will store the above method and be drawn out
It is saved after modification format.
Step 4, it writes control unit this person's handwriting is transferred in storage control unit and storage to storage equipment, specifically
Are as follows:
The arrangements such as action of writing, touch material can be in step 2 inner mark code by the writing control unit.This
Storage control unit obtains person's handwriting in step, and is stored in erasing track object, and erasing track object includes the seat of point
Mark the specific informations such as track array, erasing track position, affiliated topic types.
Step 5, storage control unit will be wiped track institute and be wiped through region in storage medium, specifically:
The person's handwriting being wiped free of is the png format-pattern put in order in step 3, which is saved according in step 4
Erasing track carry out region removing.Storage control unit is determined first, in accordance with the location information etc. in erasing track object wait wipe
Except the affiliated painting canvas of image and its position.After obtaining corresponding painting canvas mark, the region that erasing pen mark is carried out on the painting canvas is drawn.
After region is drawn, corresponding region is saved as into clipping region, painting canvas removing is carried out in clipping region, obtains erasing modification
Image afterwards.
Step 6, display control unit refreshes display erasing treated handwriting information, specifically: display control unit is clear
It is shown except information rendered on current screen, and by current modified painting canvas.
Step 7, storage control unit uploads onto the server the handwriting information after erasing.The server is remotely to store
Equipment, this system are applied in ink screen terminal, are optimally suitable for the application of C/S model.Person's handwriting after erasing is after overcompression
By network transmission to server end and save.But the preceding method equivalent only with the present invention, also belong to guarantor of the invention
Within the scope of shield.
In the present embodiment, by above step, in erasing, by apparatus for writing and control unit, erasing control are write
The processing of unit, display equipment and display control unit, when realizing each erasing track end of input, erasing is existing in real time
Written handwriting and show erasing result.
It can be seen that method and system provided by the invention has the advantage that
(1) whether can be judged automatically according to the input mode of user currently is erasing move.User is not necessarily in input
Switch erasing rubber or pencil, directly movement be acquired and is identified according to the medium of input and position in input, nib and
The switching of pen cap more meets the writing style of user.
(2) selective erase of person's handwriting may be implemented, operated convenient for details, in order to avoid unnecessary wipe and write again, accord with
Share the erasing habit at family.
(3) removing in realization data simultaneously, in real time shows the erasing effect of stroke on ink screen interface.Erasing
As a result immediate feedback is conducive to the operating efficiency for improving user, meets the writing style of user.
(4) ink screen equipment can be used, ink screen equipment has the use feeling of papery equipment, and opposite liquid crystal display, which has, to be protected
It protects user's eyesight, the advantages of more excellent input texture is provided.
By using above-mentioned technical proposal disclosed by the invention, obtained following beneficial effect: the embodiment of the present invention is mentioned
Newly-increased track when judging the current action of user for erasing move, is stored as track number by the method for deleting of the handwriting trace of confession
Group objects, while the point bit array of original handwriting trace is depicted as the picture that curve saves as png format, then, according to defeated
The picture of original handwriting trace is carried out erasing processing by the region for entering track process, and handwriting trace carries out in fact by treated
When show.This method advantage are as follows: (1) apparatus for writing has multiple-working mode, this method for deleting can be according to the input of user
Whether it is erasing move that mode judges automatically current, and (2) this method can carry out selective erase to existing handwriting trace, meet
User's use habit, (3) this method can be adapted for being write and being shown in ink screen, and ink screen, which has, does not hurt eye, hand
The features such as having felt.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
Depending on protection scope of the present invention.
Claims (9)
1. a kind of method for deleting of handwriting trace, which comprises the steps of:
Step 1, current action of writing is obtained;
Step 2, judge whether current action of writing is erasing move, if it is, the erasing track for forming this input carries out
Subsequent step is stored and executed, otherwise, gos to step 6;
Step 3, original handwriting trace is saved as into png picture;
Step 4, the region passed through according to this erasing track inputted, wipes original handwriting trace on png picture
It removes, the png picture after being wiped;
Step 5, the png picture after erasing is shown.
2. the method for deleting of handwriting trace according to claim 1, which is characterized in that step 1 specifically: handwriting equipment is logical
Cross material information used in perception acquisition user input and the current input to pressure, wherein the user, which inputs, includes
Action mode and/or action of writing, action of writing are rendered as the track of two-dimensional surface, are stored as the point set that element is two-dimensional coordinate
Array, the array only have limited point.
3. the method for deleting of handwriting trace according to claim 1, which is characterized in that in step 2, the current book of judgement
Write whether movement is erasing move, specifically: it obtains current system conditions and collected user inputs information, according to current touching
Touch material, type of gesture and position, system mode carries out the differentiation of action type;
Wherein, current touch material includes pen tip or pen cap, and in the case where unlike material, operation includes writing and wiping;When
Preceding type of gesture include individually point or track lines, current track position include can writing position or button position, according to rail
Mark type and position judge whether current action is click action, will writing or erasing move and user interface switching interactive action
It distinguishes;Current system conditions include rough draft state or non-rough draft state, and the operation under different conditions will be in different figures
It is carried out on layer.
4. the method for deleting of handwriting trace according to claim 1, which is characterized in that described to form that this is defeated in step 2
The erasing track entered specifically: in erasing move, collected track is saved in erasing track array, in the array
Element be two-dimensional point coordinate, and add person's handwriting region, type of action or add other attributes according to system situation, as one
It is a can operation object stored.
5. the method for deleting of handwriting trace according to claim 1, which is characterized in that step 3 specifically: wiped detecting
Before movement, handwriting trace is the dotted line of limited point composition under two-dimensional coordinate system, when detecting erasing move, to writing rail
The format of mark is adjusted, and the point array formats of vector are converted to the curvilinear figure drawn, will be related on current painting canvas
All lines merge, as two-dimensional png picture format.
6. the method for deleting of handwriting trace according to claim 5, which is characterized in that the point array cell by vector
Formula is converted to the curvilinear figure drawn, is implemented with the following method:
A1 creates a painting canvas, the content in painting canvas is emptied;
A2 obtains array where all points;
A3 establishes the mapping relations between point and the diameter of point, and as an object array, each element in array is one
Drawing path, the drawing path have width attribute, and include a queue, and the element in queue is that front is collected
Point;
A4 traverses current written handwriting storage array, obtains a handwriting trace lines;
A5 creates the mapping relations of a width;
A6 traverses current handwriting trace lines, obtains a point in lines;
The point is added in the queue if the point is consistent with the mapping relations width for being presently in reason by A7;It, will if not being consistent
After mapping relations array is added in current mapping relations, a width mapping relations are created, and queue is added in the point;
A8, if current line, which does not traverse, to be terminated, circulation executes A6~A7, until current line traversal terminates, otherwise enters A9;
A9, if current written handwriting storage array, which does not traverse, to be terminated, circulation executes A4~A8, until current written handwriting traversal knot
Otherwise beam enters A10;
A10 currently has been obtained for the width array of all the points, traverses width array, carries out road each with same widths
Diameter is drawn, and the drafting of curvilinear figure is completed.
7. the method for deleting of handwriting trace according to claim 1, which is characterized in that step 4 specifically: track will be wiped
It is portrayed as smooth curve in painting canvas, and the png picture in painting canvas is subjected to region editing, removal erasing track is passed through
The erasing of handwriting trace is realized in region.
8. the method for deleting of handwriting trace according to claim 1, which is characterized in that further comprise the steps of: after step 5 by
Handwriting information after erasing is uploaded onto the server.
9. a kind of erasing system of handwriting trace characterized by comprising clipboard writes control unit, storage control list
Member, display control unit and display screen;
The clipboard is used to obtain current action of writing, including uses writing pencil or finger to touch plate face, and move up in plate face
It is dynamic;
The writing control unit touches material information, and judge current for obtaining the operational motion track that clipboard obtains
Type of action;
The storage control unit is used to original handwriting trace saving as png picture, is also used to obtain erasing track, and according to
Track institute is wiped through region, original handwriting trace is wiped;
The display control unit transmits it to display screen for obtaining the updated image of storage control unit;
The display screen is for showing updated image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811058564.5A CN109407954B (en) | 2018-09-11 | 2018-09-11 | Writing track erasing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811058564.5A CN109407954B (en) | 2018-09-11 | 2018-09-11 | Writing track erasing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109407954A true CN109407954A (en) | 2019-03-01 |
CN109407954B CN109407954B (en) | 2022-02-11 |
Family
ID=65464014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811058564.5A Active CN109407954B (en) | 2018-09-11 | 2018-09-11 | Writing track erasing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109407954B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109920029A (en) * | 2019-03-18 | 2019-06-21 | 河北华发教育科技股份有限公司 | A method of drawing erasable figure |
CN110879686A (en) * | 2019-11-13 | 2020-03-13 | 讯飞幻境(北京)科技有限公司 | Label erasing method and device and electronic equipment |
CN111880716A (en) * | 2020-07-06 | 2020-11-03 | 深圳博为教育科技有限公司 | Gesture recognition method and device and touch control equipment |
CN112596623A (en) * | 2020-12-23 | 2021-04-02 | 深圳市鸿合创新信息技术有限责任公司 | Interaction method and device of interaction equipment, electronic equipment and storage medium |
CN113288712A (en) * | 2021-05-08 | 2021-08-24 | 傅键炯 | Clinical rehabilitation training device of department of neurology |
CN113345384A (en) * | 2021-05-28 | 2021-09-03 | 深圳市爱码讯实业发展有限公司 | Handwriting erasing method and system for handwriting board |
CN113934394A (en) * | 2021-10-19 | 2022-01-14 | 河北师达教育科技有限公司 | Method and device for realizing memory display in display screen and terminal equipment |
CN114356205A (en) * | 2022-01-04 | 2022-04-15 | 掌阅科技股份有限公司 | Note processing method, electronic device and computer storage medium |
CN114756143A (en) * | 2020-12-29 | 2022-07-15 | 广州视源电子科技股份有限公司 | Handwriting element deleting method and device, storage medium and electronic equipment |
WO2023016493A1 (en) * | 2021-08-11 | 2023-02-16 | 广州视源电子科技股份有限公司 | Handwriting erasing method and apparatus, storage medium, and electronic device |
WO2023108826A1 (en) * | 2021-12-14 | 2023-06-22 | 北京鸿合爱学教育科技有限公司 | Remote annotation method and apparatus |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201965567U (en) * | 2011-04-02 | 2011-09-07 | 周佳 | Electromagnetic stylus |
US20140176512A1 (en) * | 2012-12-26 | 2014-06-26 | Xerox Corporation | System and method for creating and modifying physically transient handwritten digital documents |
CN104992460A (en) * | 2015-05-28 | 2015-10-21 | 深圳市创易联合科技有限公司 | Method for erasing vector scripts |
CN105913467A (en) * | 2016-04-01 | 2016-08-31 | 北京视骏科技有限公司 | Electronic writing method supporting draft function |
CN106383657A (en) * | 2016-09-26 | 2017-02-08 | 广东小天才科技有限公司 | Handwriting input control method and handwriting input control device |
CN106843650A (en) * | 2017-01-17 | 2017-06-13 | 创维光电科技(深圳)有限公司 | The touch identification method and system of a kind of touch screen integrated machine |
CN107450825A (en) * | 2016-05-31 | 2017-12-08 | 富士施乐株式会社 | Information processor and method |
-
2018
- 2018-09-11 CN CN201811058564.5A patent/CN109407954B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201965567U (en) * | 2011-04-02 | 2011-09-07 | 周佳 | Electromagnetic stylus |
US20140176512A1 (en) * | 2012-12-26 | 2014-06-26 | Xerox Corporation | System and method for creating and modifying physically transient handwritten digital documents |
CN104992460A (en) * | 2015-05-28 | 2015-10-21 | 深圳市创易联合科技有限公司 | Method for erasing vector scripts |
CN105913467A (en) * | 2016-04-01 | 2016-08-31 | 北京视骏科技有限公司 | Electronic writing method supporting draft function |
CN107450825A (en) * | 2016-05-31 | 2017-12-08 | 富士施乐株式会社 | Information processor and method |
CN106383657A (en) * | 2016-09-26 | 2017-02-08 | 广东小天才科技有限公司 | Handwriting input control method and handwriting input control device |
CN106843650A (en) * | 2017-01-17 | 2017-06-13 | 创维光电科技(深圳)有限公司 | The touch identification method and system of a kind of touch screen integrated machine |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109920029A (en) * | 2019-03-18 | 2019-06-21 | 河北华发教育科技股份有限公司 | A method of drawing erasable figure |
CN110879686A (en) * | 2019-11-13 | 2020-03-13 | 讯飞幻境(北京)科技有限公司 | Label erasing method and device and electronic equipment |
CN110879686B (en) * | 2019-11-13 | 2021-05-18 | 讯飞幻境(北京)科技有限公司 | Label erasing method and device and electronic equipment |
CN111880716A (en) * | 2020-07-06 | 2020-11-03 | 深圳博为教育科技有限公司 | Gesture recognition method and device and touch control equipment |
CN111880716B (en) * | 2020-07-06 | 2022-06-10 | 深圳博为教育科技有限公司 | Gesture recognition method and device and touch control equipment |
CN112596623B (en) * | 2020-12-23 | 2022-12-02 | 深圳市鸿合创新信息技术有限责任公司 | Interaction method and device of interaction equipment, electronic equipment and storage medium |
CN112596623A (en) * | 2020-12-23 | 2021-04-02 | 深圳市鸿合创新信息技术有限责任公司 | Interaction method and device of interaction equipment, electronic equipment and storage medium |
CN114756143A (en) * | 2020-12-29 | 2022-07-15 | 广州视源电子科技股份有限公司 | Handwriting element deleting method and device, storage medium and electronic equipment |
CN113288712A (en) * | 2021-05-08 | 2021-08-24 | 傅键炯 | Clinical rehabilitation training device of department of neurology |
CN113288712B (en) * | 2021-05-08 | 2024-03-26 | 傅键炯 | Clinical rehabilitation training device for neurology |
CN113345384A (en) * | 2021-05-28 | 2021-09-03 | 深圳市爱码讯实业发展有限公司 | Handwriting erasing method and system for handwriting board |
WO2023016493A1 (en) * | 2021-08-11 | 2023-02-16 | 广州视源电子科技股份有限公司 | Handwriting erasing method and apparatus, storage medium, and electronic device |
CN113934394A (en) * | 2021-10-19 | 2022-01-14 | 河北师达教育科技有限公司 | Method and device for realizing memory display in display screen and terminal equipment |
CN113934394B (en) * | 2021-10-19 | 2024-05-03 | 河北师达教育科技有限公司 | Method, device and terminal equipment for realizing memory display in display screen |
WO2023108826A1 (en) * | 2021-12-14 | 2023-06-22 | 北京鸿合爱学教育科技有限公司 | Remote annotation method and apparatus |
CN114356205A (en) * | 2022-01-04 | 2022-04-15 | 掌阅科技股份有限公司 | Note processing method, electronic device and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109407954B (en) | 2022-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109407954A (en) | A kind of method for deleting and system of handwriting trace | |
CN109445676A (en) | The method of the handwritten stroke information of user's input is deleted on handwriting equipment | |
CN109284059B (en) | Handwriting drawing method and device, interactive intelligent panel and storage medium | |
US9141134B2 (en) | Utilization of temporal and spatial parameters to enhance the writing capability of an electronic device | |
CN100552718C (en) | The method of graphing and device | |
CN103268166B (en) | The former handwriting information collection of handwriting input device and display packing | |
JP5516535B2 (en) | Electronic information terminal and area setting control program | |
CN104182137B (en) | A kind of method of the electronic handwriting on erasing data board | |
CN106325737A (en) | Method and equipment for erasing writing path | |
CN111078035B (en) | Drawing method based on HTML5Canvas | |
CN104345948A (en) | Implementation method and implementation device for original handwriting as well as electronic equipment | |
CN108334486A (en) | table control method, device, equipment and storage medium | |
CN108304129A (en) | Teaching electronics exhibition booth annotation method, equipment, storage medium and system | |
CN102221955A (en) | Eraser function realization method, mobile terminal and touch pen used for mobile terminal | |
CN105867660B (en) | A kind of electronics chalk | |
US9542093B2 (en) | Methods and apparatus for providing partial modification of a digital illustration | |
JP2012108760A (en) | Electronic information board device, information display method, and program | |
CN101281442A (en) | Handwriting indication method, system as well as mobile terminal of touching medium | |
CN106909246A (en) | A kind of electronic writing method for deleting and Intelligent touch TV | |
CN112181171A (en) | Input method and device of intelligent pen on intelligent display terminal and intelligent pen | |
CN109857322B (en) | Android-based painting brush width control method and device | |
CN110297558A (en) | Multi-point touch control method and device, intelligent interactive panel and storage medium | |
CN109359272A (en) | A kind of display methods, device and the equipment of electronics rough draft | |
CN103345389B (en) | The operational approach of a kind of vector graphics being applied to webpage and device | |
CN109509240A (en) | A kind of smart machine display methods, readable storage medium storing program for executing and smart machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |