CN106991711A - Handwriting editing method and system - Google Patents
Handwriting editing method and system Download PDFInfo
- Publication number
- CN106991711A CN106991711A CN201710153070.4A CN201710153070A CN106991711A CN 106991711 A CN106991711 A CN 106991711A CN 201710153070 A CN201710153070 A CN 201710153070A CN 106991711 A CN106991711 A CN 106991711A
- Authority
- CN
- China
- Prior art keywords
- handwriting
- person
- target person
- bitmap
- target
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000001360 synchronised effect Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 16
- 238000010422 painting Methods 0.000 description 6
- 230000006399 behavior Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 210000004556 brain Anatomy 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000004310 photopic vision Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 210000003733 optic disk Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- 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
- 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/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention relates to a handwriting editing method and a system, wherein the method comprises the following steps: covering a transparent view on the original view containing the handwriting; obtaining a target handwriting selected on an original view, copying the target handwriting to a pre-established bitmap, drawing the bitmap on the transparent view, and erasing the target handwriting in the original view; performing editing operation on the bitmap on the transparent view, synchronizing the target handwriting on the bitmap to the original view after the target handwriting is deselected, and hiding the transparent view; wherein the editing operation is an editing operation which needs to be executed on the target handwriting. The handwriting editing method and the system improve the handwriting editing efficiency and avoid the system from generating a pause phenomenon.
Description
Technical field
The present invention relates to technical field of image processing, more particularly to a kind of person's handwriting edit methods and system.
Background technology
With the popularization of the electronic equipments such as smart mobile phone, tablet personal computer, pen-based interaction becomes more and more flexible.People can be with
Hand writing is carried out with a variety of input units such as touch screen, mouse, to obtain real hand-written experience.When to writing, often
Need to identify the handwriting and move and/or zoom operations.
Traditional solution is required for redrawing all pens chosen every time when performing person's handwriting movement and zoom operations
With the unchecked person's handwriting inside the person's handwriting square boundary chosen during mark, and mobile scaling.However, drawing person's handwriting right and wrong
Often time-consuming operation, therefore, when performing person's handwriting movement and scaling, easily produces Caton phenomenon, or even occur without response
It is abnormal, cause program crashing.
In summary, the movement of traditional person's handwriting and Zoom method are excessive to resource consumption, and the editorial efficiency of person's handwriting is relatively low.
The content of the invention
Based on this, it is necessary to for person's handwriting movement and Zoom method it is excessive to resource consumption the problem of there is provided a kind of person's handwriting
Edit methods and system.
A kind of person's handwriting edit methods, comprise the following steps:
Layer of transparent view is covered on the former view comprising person's handwriting;
The target person's handwriting chosen on former view is obtained, the target person's handwriting is copied on the bitmap pre-established, and will
The bitmap is plotted on the transparent view, and the target person's handwriting is wiped in former view;
The bitmap executive editor is operated on the transparent view, by position after the target person's handwriting is cancelled and chosen
Target person's handwriting on figure is synchronized on former view, and hides the transparent view;Wherein, the edit operation is needed to target
The edit operation that person's handwriting is performed.
A kind of person's handwriting editing system, including:
Overlay module, for covering layer of transparent view on the former view comprising person's handwriting;
Replicate and erasing module, the target person's handwriting chosen for obtaining on former view copies to the target person's handwriting pre-
On the bitmap first set up, and the bitmap is plotted on the transparent view, the target person's handwriting is wiped in former view;
Synchronization module, for being operated on the transparent view to the bitmap executive editor, treats the target person's handwriting quilt
Target person's handwriting on bitmap is synchronized on former view by cancellation after choosing, and hides the transparent view;Wherein, the editor behaviour
Work is the edit operation for needing to perform target person's handwriting.
Above-mentioned person's handwriting edit methods and system, by covering transparent view on former view, target person's handwriting is replicated in place
In figure, the bitmap is plotted on the transparent view, and required edit operation is performed to bitmap on transparent view, is kept away
Exempt from repeatedly to redraw the person's handwriting for needing to edit in person's handwriting editing process, reduced system and take resource, improve person's handwriting editor
Efficiency, it is to avoid Caton phenomenon occurs for system.
Brief description of the drawings
Fig. 1 is the person's handwriting edit methods flow chart of one embodiment;
Fig. 2 is the schematic diagram that transparent view is covered on former view of one embodiment;
Fig. 3 is the schematic diagram for copying to person's handwriting on bitmap of one embodiment;
Fig. 4 is the border schematic diagram of the person's handwriting of one embodiment;
Fig. 5 for one embodiment erasing target person's handwriting after original graph schematic diagram;
Fig. 6 for one embodiment person's handwriting editor after the completion of former view schematic diagram;
Fig. 7 is the structural representation of the person's handwriting editing system of one embodiment.
Embodiment
Technical scheme is illustrated below in conjunction with the accompanying drawings.
As shown in figure 1, the embodiment of the present invention provides a kind of person's handwriting edit methods, it may include following steps:
S1, covers layer of transparent view on the former view comprising person's handwriting;
Person's handwriting editor described in the embodiment of the present invention can identify the handwriting to move, or identify the handwriting and zoom in and out,
Can be other edit operations.
Former view and transparent view in the embodiment of the present invention can be the images shown on screen, and user is able to observe that
Image can regard view as.The screen can be the screen of intelligent terminal, and intelligent terminal may include mobile phone, flat board electricity
Brain, computer etc., the former view and transparent view can also be that other can carry out the display figure on the display panel of person's handwriting editor
Picture.Each view (View) have one be used for draw painting canvas, this painting canvas can carry out arbitrary extension.System first can be by
Need the thing of displaying to be plotted in above painting canvas, then shown by view.
Layer of transparent view is covered on former view described in this step, refers to that newly-built layer of transparent is regarded in original graph
Figure, makes transparent view cover former view in orientation, and specific schematic diagram is as shown in Figure 2.The size of transparent view can be regarded with original
Figure is identical, for example, original graph and the size of transparent view can be identical all with the size of display panel.Covering transparent view can be to prevent
Only block the content on former view.
S2, obtains the target person's handwriting chosen on former view, the target person's handwriting is copied on the bitmap pre-established, and
The bitmap is plotted on the transparent view, the target person's handwriting is wiped in former view;
The target person's handwriting can be selected by user, and the quantity of the target person's handwriting selected every time can be 1 or be more than
1 quantity.In one embodiment, the target person's handwriting chosen can be highlighted, for example, by the target person's handwriting chosen
Color is set to the colors different from other person's handwritings on view, or increases by one for marking around the target person's handwriting chosen
The framework shown.In this way, user can be made to be visually observed which the target person's handwriting currently chosen is, can also be kept away
Exempt to select wrong target person's handwriting.
In selection target person's handwriting, if user currently have selected a target person's handwriting, reselected in user another
During bar target person's handwriting, the selected state of current goal person's handwriting can be released, the target person's handwriting that user reselects is set to choose
State, so as to make to be easy to user to correct during user's choosing mistake target person's handwriting.Further, if currently having a target person's handwriting
A is selected, can also at the time of target person's handwriting A is selected timing, if timing reach default time threshold it
Before, detect another target person's handwriting B and be selected, then it is the target person's handwriting A currently chosen and the target person's handwriting B reselected is equal
It is set to selected state;If after timing reaches default time threshold, detecting another target person's handwriting C and being selected, then solve
Except current goal person's handwriting A selected state, the target person's handwriting C reselected is set to selected state.In this way, it is easy to
User selects a plurality of target person's handwriting, consequently facilitating entering edlin to a plurality of target person's handwriting simultaneously.
In one embodiment, the target person's handwriting is copied to the bitmap that pre-establishes, and (Bitmap has worked out pixel square
Battle array in each pixel color) on a kind of concrete mode can be:Obtain coordinate of the target person's handwriting on former view;According to
The corresponding position that the coordinate copies to the target person's handwriting on the bitmap.For example, target person's handwriting is on former view
Coordinate is (3,3), then can copy to target person's handwriting at the position that a map reference is (3,3).So can be in order to follow-up right
The operation of bitmap.The schematic diagram that person's handwriting is copied on bitmap of one embodiment is as shown in Figure 3.In another embodiment,
The optional position that target person's handwriting can also be copied on bitmap, in follow-up editor bitmap further according to target person's handwriting in former view
In coordinate first the position of bitmap is corrected, then to bitmap executive editor operate.
After the target person's handwriting is copied on the bitmap pre-established, the bitmap should be also plotted in described
On photopic vision figure, and wipe in former view the target person's handwriting.Specifically, the target in original graph can be wiped according in the following manner
Person's handwriting:First, the border of the target person's handwriting can be obtained;Then, can be clear by the border area defined in former view
It is empty;Finally, not selected person's handwriting in the region can be redrawn in former view.The schematic diagram on person's handwriting border can be such as Fig. 4 institutes
Show, in Fig. 4, the border is square boundary.The border can also be the border of other shapes, and here is omitted.When
During for square boundary, maximum abscissa, minimum abscissa, maximum ordinate and the minimum vertical seat of the target person's handwriting can be obtained
Mark;The rectangle of the target person's handwriting is calculated according to the maximum abscissa, minimum abscissa, maximum ordinate and minimum ordinate
Border;Wherein, the length on the border is the difference of the maximum abscissa and minimum abscissa, and the width on the border is institute
State the difference of maximum ordinate and minimum ordinate.The schematic diagram for wiping the original graph after target person's handwriting is as shown in Figure 5.
S3, is operated on the transparent view to the bitmap executive editor, after the target person's handwriting is cancelled and chosen
Target person's handwriting on bitmap is synchronized on former view, and hides the transparent view;Wherein, the edit operation is needs pair
The edit operation that target person's handwriting is performed.
In this step, bitmap executive editor can be operated on transparent view, the edit operation Ying Yuxu performed herein
The edit operation to be performed to the target person's handwriting on former view is identical.For example, working as needs to be mobile behaviour to the execution of target person's handwriting
When making, moving operation, and starting point, terminal and the mobile route that should move the target person's handwriting on bitmap can be performed to bitmap herein
It is identical with the above-mentioned moving operation for needing to perform target person's handwriting.In another example, when needs are performed to the target person's handwriting on former view
Be zoom operations when, can perform zoom operations to bitmap herein, and should make target person's handwriting on bitmap scale after size with
The above-mentioned zoom operations for needing to perform target person's handwriting are identical.
If the edit operation is moving operation, can when being operated on the transparent view to the bitmap executive editor
To obtain the target location of the target person's handwriting movement;The bitmap is moved on the transparent view, until described
Target person's handwriting on bitmap reaches the target location.Similarly, if the edit operation is zoom operations, transparent regarded described
When being operated on figure to the bitmap executive editor, the target size of the target person's handwriting can be obtained;On the transparent view
Equal proportion scaling is carried out to the bitmap, until the size of the target person's handwriting on the bitmap is equal to the target size.Herein
Wait person's handwriting scaling to refer to zoom in and out the length of bitmap and width according to identical ratio.
The schematic diagram of former view after the completion of the person's handwriting editor of one embodiment is as shown in Figure 6.In the schematic diagram shown in Fig. 6
In, while having carried out zoom operations and moving operation to target person's handwriting.
Above-mentioned person's handwriting edit methods, by covering transparent view on former view, target person's handwriting is copied in bitmap, will
The bitmap is plotted on the transparent view, and the edit operation needed for being performed on transparent view to bitmap, it is to avoid
The person's handwriting for needing to edit repeatedly is redrawn in person's handwriting editing process, system is reduced and takes resource, improve the efficiency of person's handwriting editor,
Avoid system and occur Caton phenomenon, improve Consumer's Experience.
As shown in fig. 7, the embodiment of the present invention also provides a kind of person's handwriting editing system, it may include:
Overlay module 10, for covering layer of transparent view on the former view comprising person's handwriting;
Person's handwriting editor described in the embodiment of the present invention can identify the handwriting to move, or identify the handwriting and zoom in and out,
Can be other edit operations.
Former view and transparent view in the embodiment of the present invention can be the images shown on screen, and user is able to observe that
Image can regard view as.The screen can be the screen of intelligent terminal, and intelligent terminal may include mobile phone, flat board electricity
Brain, computer etc., the former view and transparent view can also be that other can carry out the display figure on the display panel of person's handwriting editor
Picture.Each view have one be used for draw painting canvas, this painting canvas can carry out arbitrary extension.System can will first need exhibition
The thing shown is plotted in above painting canvas, is then shown by view.
Layer of transparent view is covered on former view described in this module, refers to that newly-built layer of transparent is regarded in original graph
Figure, makes transparent view cover former view in orientation, and specific schematic diagram is as shown in Figure 2.The size of transparent view can be regarded with original
Figure is identical, for example, original graph and the size of transparent view can be identical all with the size of display panel.Covering transparent view can be to prevent
Only block the content on former view.
Replicate and erasing module 20, the target person's handwriting chosen for obtaining on former view copies to the target person's handwriting
On the bitmap pre-established, and the bitmap is plotted on the transparent view, the target person's handwriting is wiped in former view;
The target person's handwriting can be selected by user, and the quantity of the target person's handwriting selected every time can be 1 or be more than
1 quantity.In one embodiment, the target person's handwriting chosen can be highlighted, for example, by the target person's handwriting chosen
Color is set to the colors different from other person's handwritings on view, or increases by one for marking around the target person's handwriting chosen
The framework shown.In this way, user can be made to be visually observed which the target person's handwriting currently chosen is, can also be kept away
Exempt to select wrong target person's handwriting.
In selection target person's handwriting, if user currently have selected a target person's handwriting, reselected in user another
During bar target person's handwriting, the selected state of current goal person's handwriting can be released, the target person's handwriting that user reselects is set to choose
State, so as to make to be easy to user to correct during user's choosing mistake target person's handwriting.Further, if currently having a target person's handwriting
A is selected, can also at the time of target person's handwriting A is selected timing, if timing reach default time threshold it
Before, detect another target person's handwriting B and be selected, then it is the target person's handwriting A currently chosen and the target person's handwriting B reselected is equal
It is set to selected state;If after timing reaches default time threshold, detecting another target person's handwriting C and being selected, then solve
Except current goal person's handwriting A selected state, the target person's handwriting C reselected is set to selected state.In this way, it is easy to
User selects a plurality of target person's handwriting, consequently facilitating entering edlin to a plurality of target person's handwriting simultaneously.
In one embodiment, in order to which the target person's handwriting is copied on the bitmap pre-established, above-mentioned duplication and wiping
Except module may include:First acquisition unit, for obtaining coordinate of the target person's handwriting on former view;And copied cells,
For the corresponding position for being copied to the target person's handwriting on the bitmap according to the coordinate.For example, target person's handwriting is in original
Coordinate on view is (3,3), then can copy to target person's handwriting at the position that a map reference is (3,3).So can be so as to
In operation subsequently to bitmap.The schematic diagram that person's handwriting is copied on bitmap of one embodiment is as shown in Figure 3.In another reality
Apply in example, the optional position that target person's handwriting can also be copied on bitmap, in follow-up editor bitmap further according to target person's handwriting
Coordinate in former view is first corrected to the position of bitmap, then bitmap executive editor is operated.
After the target person's handwriting is copied on the bitmap pre-established, the bitmap should be also plotted in described
On photopic vision figure, and wipe in former view the target person's handwriting.Specifically, it is described in order to wipe the target person's handwriting in original graph
Replicate and erasing module may also include:Second acquisition unit, the border for obtaining the target person's handwriting;Unit is emptied, is used for
The border area defined is emptied in former view;Unit is redrawn, for by not selected person's handwriting in the region
Redraw in former view.The schematic diagram on person's handwriting border can be as shown in figure 4, in Fig. 4, the border be square boundary.The side
Boundary can also be the border of other shapes, and here is omitted.When for square boundary, the second acquisition unit may include to obtain
Subelement and computation subunit are taken, the acquisition subelement can obtain the maximum abscissa of the target person's handwriting, minimum horizontal seat
Mark, maximum ordinate and minimum ordinate;The computation subunit can be according to the maximum abscissa, minimum abscissa, most
Big ordinate and minimum ordinate calculate the square boundary of the target person's handwriting;Wherein, the length on the border is the maximum
The difference of abscissa and minimum abscissa, the width on the border is the difference of the maximum ordinate and minimum ordinate.Wipe
Except the schematic diagram of the original graph after target person's handwriting is as shown in Figure 5.
Synchronization module 30, for being operated on the transparent view to the bitmap executive editor, treats the target person's handwriting
It is cancelled after choosing and the target person's handwriting on bitmap is synchronized on former view, and hides the transparent view;Wherein, the editor
Operation is the edit operation for needing to perform target person's handwriting.
In this module, bitmap executive editor can be operated on transparent view, the edit operation Ying Yuxu performed herein
The edit operation to be performed to the target person's handwriting on former view is identical.For example, working as needs to be mobile behaviour to the execution of target person's handwriting
When making, moving operation, and starting point, terminal and the mobile route that should move the target person's handwriting on bitmap can be performed to bitmap herein
It is identical with the above-mentioned moving operation for needing to perform target person's handwriting.In another example, when needs are performed to the target person's handwriting on former view
Be zoom operations when, can perform zoom operations to bitmap herein, and should make target person's handwriting on bitmap scale after size with
The above-mentioned zoom operations for needing to perform target person's handwriting are identical.
If the edit operation that the synchronization module 30 is performed is moving operation, the synchronization module 30 may include:3rd obtains
Unit is taken, the target location for obtaining the target person's handwriting movement;And mobile unit, for right on the transparent view
The bitmap is moved, until the target person's handwriting on the bitmap reaches the target location.Similarly, if the synchronous mould
The edit operation that block 30 is performed is zoom operations, and the synchronization module 30 may include:4th acquiring unit, for institute can be obtained
State the target size of target person's handwriting;And unit for scaling, for carrying out equal proportion contracting to the bitmap on the transparent view
Put, until the size of the target person's handwriting on the bitmap is equal to the target size.Grade person's handwriting scaling herein refers to bitmap
Length and width zoomed in and out according to identical ratio.
The schematic diagram of former view after the completion of the person's handwriting editor of one embodiment is as shown in Figure 6.
Above-mentioned person's handwriting editing system, by covering transparent view on former view, target person's handwriting is copied in bitmap, will
The bitmap is plotted on the transparent view, and the edit operation needed for being performed on transparent view to bitmap, it is to avoid
The person's handwriting for needing to edit repeatedly is redrawn in person's handwriting editing process, system is reduced and takes resource, improve the efficiency of person's handwriting editor,
Avoid system and occur Caton phenomenon, improve Consumer's Experience.
Person's handwriting editing system in the embodiment of the present invention is corresponded with the person's handwriting edit methods in the embodiment of the present invention,
The technical characteristic and its advantage that the embodiment of above-mentioned person's handwriting edit methods is illustrated are applied to the implementation of person's handwriting editing system
In example, hereby give notice that.
Represent in flow charts or logic and/or step described otherwise above herein, for example, being considered use
In the order list for the executable instruction for realizing logic function, it may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction
The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or the dress for combining these instruction execution systems, device or equipment and using
Put.
The more specifically example (non-exhaustive list) of computer-readable medium includes following:With one or more wirings
Electrical connection section (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, can even is that can be in the paper of printing described program thereon or other are suitable for computer-readable medium
Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage
Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means to combine specific features, structure, material or the spy that the embodiment or example are described
Point is contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not
Necessarily refer to identical embodiment or example.Moreover, specific features, structure, material or the feature of description can be any
One or more embodiments or example in combine in an appropriate manner.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, the scope of this specification record is all considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, but simultaneously
Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that coming for one of ordinary skill in the art
Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (14)
1. a kind of person's handwriting edit methods, it is characterised in that comprise the following steps:
Layer of transparent view is covered on the former view comprising person's handwriting;
The target person's handwriting chosen on former view is obtained, the target person's handwriting is copied on the bitmap pre-established, and will be described
Bitmap is plotted on the transparent view, and the target person's handwriting is wiped in former view;
The bitmap executive editor is operated on the transparent view, by bitmap after the target person's handwriting is cancelled and chosen
Target person's handwriting be synchronized on former view, and hide the transparent view;Wherein, the edit operation is needed to target person's handwriting
The edit operation of execution.
2. person's handwriting edit methods according to claim 1, it is characterised in that the target person's handwriting is copied to and pre-established
Bitmap on step include:
Obtain coordinate of the target person's handwriting on former view;
The corresponding position for being copied to the target person's handwriting on the bitmap according to the coordinate.
3. person's handwriting edit methods according to claim 1, it is characterised in that the target person's handwriting is wiped in former view
Step includes:
Obtain the border of the target person's handwriting;
The border area defined is emptied in former view;
Not selected person's handwriting in the region is redrawn in former view.
4. person's handwriting edit methods according to claim 3, it is characterised in that the step of obtaining the border of the target person's handwriting
Including:
Obtain maximum abscissa, minimum abscissa, maximum ordinate and the minimum ordinate of the target person's handwriting;
The square of the target person's handwriting is calculated according to the maximum abscissa, minimum abscissa, maximum ordinate and minimum ordinate
Shape border;
Wherein, the length on the border is the difference of the maximum abscissa and minimum abscissa, and the width on the border is institute
State the difference of maximum ordinate and minimum ordinate.
5. person's handwriting edit methods according to claim 1, it is characterised in that the edit operation include moving operation and/
Or zoom operations.
6. person's handwriting edit methods according to claim 5, it is characterised in that if the edit operation is moving operation,
The step of being operated on the transparent view to the bitmap executive editor includes:
Obtain the target location of the target person's handwriting movement;
The bitmap is moved on the transparent view, until the target person's handwriting on the bitmap reaches the target position
Put.
7. person's handwriting edit methods according to claim 5, it is characterised in that if the edit operation is zoom operations,
The step of being operated on the transparent view to the bitmap executive editor includes:
Obtain the target size of the target person's handwriting;
Equal proportion scaling is carried out to the bitmap on the transparent view, until size of target person's handwriting on the bitmap etc.
In the target size.
8. a kind of person's handwriting editing system, it is characterised in that including:
Overlay module, for covering layer of transparent view on the former view comprising person's handwriting;
Replicate and erasing module, the target person's handwriting is copied to and built in advance by the target person's handwriting chosen for obtaining on former view
On vertical bitmap, and the bitmap is plotted on the transparent view, the target person's handwriting is wiped in former view;
Synchronization module, for being operated on the transparent view to the bitmap executive editor, treats that the target person's handwriting is cancelled
The target person's handwriting on bitmap is synchronized on former view after choosing, and hides the transparent view;Wherein, the edit operation is
Need the edit operation performed to target person's handwriting.
9. person's handwriting editing system according to claim 8, it is characterised in that the duplication and erasing module include:
First acquisition unit, for obtaining coordinate of the target person's handwriting on former view;
Copied cells, for the corresponding position for being copied to the target person's handwriting on the bitmap according to the coordinate.
10. person's handwriting editing system according to claim 8, it is characterised in that the duplication and erasing module also include:
Second acquisition unit, the border for obtaining the target person's handwriting;
Unit is emptied, for the border area defined being emptied in former view;
Unit is redrawn, for not selected person's handwriting in the region to be redrawn in former view.
11. person's handwriting editing system according to claim 10, it is characterised in that the second acquisition unit includes:
Subelement is obtained, maximum abscissa, minimum abscissa, maximum ordinate and the minimum for obtaining the target person's handwriting are vertical
Coordinate;
Computation subunit, for calculating institute according to the maximum abscissa, minimum abscissa, maximum ordinate and minimum ordinate
State the square boundary of target person's handwriting;
Wherein, the length on the border is the difference of the maximum abscissa and minimum abscissa, and the width on the border is institute
State the difference of maximum ordinate and minimum ordinate.
12. person's handwriting editing system according to claim 8, it is characterised in that the edit operation include moving operation and/
Or zoom operations.
13. person's handwriting editing system according to claim 12, it is characterised in that if the editor behaviour that the synchronization module is performed
As moving operation, the synchronization module includes:
3rd acquiring unit, the target location for obtaining the target person's handwriting movement;
Mobile unit, for being moved on the transparent view to the bitmap, until the target person's handwriting on the bitmap
Reach the target location.
14. person's handwriting editing system according to claim 12, it is characterised in that if the editor behaviour that the synchronization module is performed
As zoom operations, the synchronization module includes:
4th acquiring unit, the target size for obtaining the target person's handwriting;
Unit for scaling, for carrying out equal proportion scaling, the mesh on the bitmap to the bitmap on the transparent view
The size for marking person's handwriting is equal to the target size.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710153070.4A CN106991711A (en) | 2017-03-15 | 2017-03-15 | Handwriting editing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710153070.4A CN106991711A (en) | 2017-03-15 | 2017-03-15 | Handwriting editing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106991711A true CN106991711A (en) | 2017-07-28 |
Family
ID=59411628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710153070.4A Pending CN106991711A (en) | 2017-03-15 | 2017-03-15 | Handwriting editing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106991711A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107943365A (en) * | 2017-11-28 | 2018-04-20 | 广州视睿电子科技有限公司 | Line handwriting presenting method and device, electronic equipment and storage medium |
CN108491145A (en) * | 2018-03-26 | 2018-09-04 | 广州视源电子科技股份有限公司 | Handwriting canceling method and device for writing application, storage medium and terminal device |
CN108733293A (en) * | 2018-06-11 | 2018-11-02 | 广州视源电子科技股份有限公司 | writing track processing method and device |
CN108805120A (en) * | 2018-06-13 | 2018-11-13 | 广州视源电子科技股份有限公司 | Handwriting processing method and device |
CN109215098A (en) * | 2018-08-20 | 2019-01-15 | 广州视源电子科技股份有限公司 | Handwriting erasing method and device |
CN109324724A (en) * | 2018-08-20 | 2019-02-12 | 广州视源电子科技股份有限公司 | Wiping method, device, equipment and storage medium for electronic whiteboard |
CN110737372A (en) * | 2019-09-12 | 2020-01-31 | 湖南新云网科技有限公司 | newly-added primitive operation method and system for electronic whiteboard and electronic whiteboard |
CN110928459A (en) * | 2019-10-09 | 2020-03-27 | 广州视源电子科技股份有限公司 | Writing operation method, device, equipment and storage medium of intelligent interactive tablet |
CN111045580A (en) * | 2018-10-15 | 2020-04-21 | 鸿合科技股份有限公司 | Handwriting processing method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5761340A (en) * | 1993-04-28 | 1998-06-02 | Casio Computer Co., Ltd. | Data editing method and system for a pen type input device |
CN102289322A (en) * | 2011-08-25 | 2011-12-21 | 盛乐信息技术(上海)有限公司 | Method and system for processing handwriting |
CN103218152A (en) * | 2012-12-17 | 2013-07-24 | 上海海知信息技术有限公司 | Method for touch screen editing on handwriting images |
CN104537701A (en) * | 2015-01-22 | 2015-04-22 | 江苏中威科技软件系统有限公司 | Operation method of vector lines |
CN106445386A (en) * | 2016-09-28 | 2017-02-22 | 广州视睿电子科技有限公司 | Handwriting display method and device |
-
2017
- 2017-03-15 CN CN201710153070.4A patent/CN106991711A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5761340A (en) * | 1993-04-28 | 1998-06-02 | Casio Computer Co., Ltd. | Data editing method and system for a pen type input device |
CN102289322A (en) * | 2011-08-25 | 2011-12-21 | 盛乐信息技术(上海)有限公司 | Method and system for processing handwriting |
CN103218152A (en) * | 2012-12-17 | 2013-07-24 | 上海海知信息技术有限公司 | Method for touch screen editing on handwriting images |
CN104537701A (en) * | 2015-01-22 | 2015-04-22 | 江苏中威科技软件系统有限公司 | Operation method of vector lines |
CN106445386A (en) * | 2016-09-28 | 2017-02-22 | 广州视睿电子科技有限公司 | Handwriting display method and device |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107943365A (en) * | 2017-11-28 | 2018-04-20 | 广州视睿电子科技有限公司 | Line handwriting presenting method and device, electronic equipment and storage medium |
CN108491145A (en) * | 2018-03-26 | 2018-09-04 | 广州视源电子科技股份有限公司 | Handwriting canceling method and device for writing application, storage medium and terminal device |
CN108491145B (en) * | 2018-03-26 | 2020-09-08 | 广州视源电子科技股份有限公司 | Handwriting canceling method and device for writing application, storage medium and terminal device |
CN108733293A (en) * | 2018-06-11 | 2018-11-02 | 广州视源电子科技股份有限公司 | writing track processing method and device |
CN108805120A (en) * | 2018-06-13 | 2018-11-13 | 广州视源电子科技股份有限公司 | Handwriting processing method and device |
CN109215098A (en) * | 2018-08-20 | 2019-01-15 | 广州视源电子科技股份有限公司 | Handwriting erasing method and device |
CN109324724A (en) * | 2018-08-20 | 2019-02-12 | 广州视源电子科技股份有限公司 | Wiping method, device, equipment and storage medium for electronic whiteboard |
CN111045580A (en) * | 2018-10-15 | 2020-04-21 | 鸿合科技股份有限公司 | Handwriting processing method and device and electronic equipment |
CN111045580B (en) * | 2018-10-15 | 2021-11-02 | 鸿合科技股份有限公司 | Handwriting processing method and device and electronic equipment |
CN110737372A (en) * | 2019-09-12 | 2020-01-31 | 湖南新云网科技有限公司 | newly-added primitive operation method and system for electronic whiteboard and electronic whiteboard |
CN110928459A (en) * | 2019-10-09 | 2020-03-27 | 广州视源电子科技股份有限公司 | Writing operation method, device, equipment and storage medium of intelligent interactive tablet |
CN110928459B (en) * | 2019-10-09 | 2021-07-23 | 广州视源电子科技股份有限公司 | Writing operation method, device, equipment and storage medium of intelligent interactive tablet |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106991711A (en) | Handwriting editing method and system | |
US9354775B2 (en) | Interaction method for dynamic wallpaper and desktop component | |
CN104038807B (en) | A kind of figure layer mixed method and device based on OpenGL | |
KR101719088B1 (en) | Method for partitioning area, and inspection device | |
CN108334486A (en) | table control method, device, equipment and storage medium | |
CN106251322B (en) | Image processing equipment, image processing method and image processing system | |
CN108205415B (en) | Text selection method and device | |
JP7547069B2 (en) | Information processing device, information processing method and program for information processing device | |
CN103530021B (en) | The system of selection of entity and device in drawing | |
CN105787874B (en) | Method and device for mosaic processing of screenshot | |
CN103020250A (en) | Map display method and device of geographic information system (GIS) | |
CN106775233A (en) | Icon method for refreshing and terminal in a kind of terminal | |
CN109215098A (en) | Handwriting erasing method and device | |
DE102015110955A1 (en) | An information processing device for acquiring an object from an image, a method of controlling the device, and storage media | |
CN109960543B (en) | Writing operation processing method and device | |
CN109324724A (en) | Wiping method, device, equipment and storage medium for electronic whiteboard | |
US20120169759A1 (en) | Method and apparatus for creating a live artistic sketch of an image | |
CN107491289B (en) | Window rendering method and device | |
US20150015501A1 (en) | Information display apparatus | |
CN103345389B (en) | The operational approach of a kind of vector graphics being applied to webpage and device | |
CN107644451B (en) | Animation display method and device | |
CN108710460A (en) | element control method, device, equipment and storage medium | |
CN112035035A (en) | Eraser realizing method and system capable of erasing strokes of top layer local area | |
CN114066715A (en) | Image style migration method and device, electronic equipment and storage medium | |
JP6352766B2 (en) | Information processing apparatus, information processing program, and information processing method |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170728 |