CN105653124B - Handwriting effect simulation method and device - Google Patents

Handwriting effect simulation method and device Download PDF

Info

Publication number
CN105653124B
CN105653124B CN201510990945.7A CN201510990945A CN105653124B CN 105653124 B CN105653124 B CN 105653124B CN 201510990945 A CN201510990945 A CN 201510990945A CN 105653124 B CN105653124 B CN 105653124B
Authority
CN
China
Prior art keywords
handwriting
person
function
simulated
point
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.)
Active
Application number
CN201510990945.7A
Other languages
Chinese (zh)
Other versions
CN105653124A (en
Inventor
陈天龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shirui Electronics Co Ltd
Priority to CN201510990945.7A priority Critical patent/CN105653124B/en
Publication of CN105653124A publication Critical patent/CN105653124A/en
Priority to PCT/CN2016/090743 priority patent/WO2017107474A1/en
Application granted granted Critical
Publication of CN105653124B publication Critical patent/CN105653124B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a handwriting effect simulation method and a device, wherein the method comprises the following steps: obtaining a drawing point for drawing the analog handwriting at the current moment; establishing a coordinate system by taking the drawing points as coordinate origin points, and generating a corresponding basic graph by taking each point of a handwriting layout function of the handwriting to be simulated under the coordinate system as a symmetric center, wherein the basic graph is obtained by the handwriting to be simulated; and setting the transparency of each basic graph according to the transparency distribution function of the handwriting to be simulated in the coordinate system to obtain the simulated handwriting at the current moment. According to the invention, the handwriting layout function and the transparency distribution function are utilized, the basic graph is used for displaying in place of the handwriting layout function under the established coordinate system, and the transparency of each basic graph is set according to the transparency distribution function under the coordinate system, so that the handwriting effect of the handwriting to be simulated, which is self-defined by a user, can be simulated, thereby enriching the functions of drawing software and improving the drawing experience of the user.

Description

Person's handwriting effect simulation method and device
Technical field
The present invention relates to person's handwriting imitation technologies, more particularly to a kind of person's handwriting effect simulation method and device.
Background technique
In current painting software, to meet the needs of different user group is to drawing person's handwriting, it is usually provided with difference The brush of type, such as wax crayon brush, marking pen brush, watercolor brush, but the often class of brush set in mapping software Type is limited, and is typically only capable to set corresponding brush for certain common person's handwritings, and can not be simulated according to the demand of user Person's handwriting corresponding to the customized pen of user out, that is, cannot be achieved the simulation to the customized person's handwriting effect of user, thus one Determine the feature-rich property that painting software is limited in degree and using flexible.
Summary of the invention
Based on this, it is necessary to can not be simulated according to the demand of user corresponding to the customized pen of user for painting software Person's handwriting effect the problem of, a kind of person's handwriting effect simulation method and device is provided, the person's handwriting effect simulation method and device is passed through It can be realized the simulation to the customized person's handwriting effect of user, improve the painting experience of user.
To achieve the above object, it is adopted the following technical scheme that in the embodiment of the present invention
A kind of person's handwriting effect simulation method, the described method comprises the following steps:
Obtain the coordinate of the graphical pointv of current time drafting simulation person's handwriting;
Coordinate system is constructed, and using the coordinate as coordinate origin with the person's handwriting of person's handwriting to be simulated under coordinate system layout Each point of function is that symmetrical centre generates corresponding basic figure, and the basic figure is obtained by person's handwriting to be simulated;
According to the transparency distribution function of person's handwriting to be simulated under the coordinate system, the transparent of each basic figure is set Degree, obtains the simulation person's handwriting at current time.
Meanwhile the invention also provides a kind of person's handwriting effect simulation arrangement, described device includes:
Acquiring unit, the coordinate of the graphical pointv for obtaining current time drafting simulation person's handwriting;
Generation unit, for using the coordinate as coordinate origin building coordinate system, and under the coordinate system wait simulate Each point of the person's handwriting layout function of person's handwriting is that symmetrical centre generates corresponding basic figure, and the basic figure is by pen to be simulated Mark obtains;
Setting unit, for each base to be arranged according to the transparency distribution function of person's handwriting to be simulated under the coordinate system The transparency of plinth figure obtains the simulation person's handwriting at current time.
Above-mentioned person's handwriting effect simulation method and device draws the graphical pointv of simulation person's handwriting by obtaining current time, and with this Graphical pointv constructs coordinate system as coordinate origin, is carried out with basic figure instead of person's handwriting layout function under constructed coordinate system It shows, and the transparency of each basic figure is set according to the transparency distribution function of person's handwriting to be simulated under the coordinate system, so that The transparency of each basic figure changes with the variation of its position on person's handwriting layout function, finally obtains the mould at current time Quasi- person's handwriting, i.e., the person's handwriting effect simulation method and device proposed through the invention are distributed using person's handwriting layout function and transparency Function, the person's handwriting effect that can be realized person's handwriting to be simulated customized to user are simulated, thus the function of abundant painting software Can, improve the painting experience of user.
Detailed description of the invention
Fig. 1 is the flow diagram of person's handwriting effect simulation method in one embodiment of the invention;
Fig. 2 is the structural schematic diagram that person's handwriting in one embodiment of the invention simulates effects device.
Specific embodiment
Technical solution of the present invention is described in detail below in conjunction with attached drawing and preferred embodiment.
Shown in Figure 1 in one of the embodiments, the present invention provides a kind of person's handwriting effect simulation method, the party Method the following steps are included:
S100 obtains the graphical pointv for drawing simulation person's handwriting at current time.Under normal conditions, painting software is all on its painting canvas It is provided with coordinate system, every bit both corresponds to unique position coordinates on painting canvas, therefore obtaining graphical pointv here is to get Position coordinates of the graphical pointv on painting software.
As a kind of specific embodiment, point or reception of the graphical pointv where cursor of mouse in this step are touched The point of event, if the operation for drawing simulation person's handwriting is user with cursor of mouse realization, current time cursor of mouse is being painted Point on the painting canvas of software is just used as the graphical pointv at current time, and the coordinate of graphical pointv is the coordinate of cursor of mouse point; If the operation for drawing simulation person's handwriting is that user realizes in a manner of touching, the point of touch event is received on software painting canvas Just the graphical pointv as current time, the coordinate of graphical pointv are the coordinate for receiving the point of touch event to point.
S110 constructs coordinate system using the coordinate as coordinate origin, and with the person's handwriting of person's handwriting to be simulated under the coordinate system Each point of layout function is that symmetrical centre generates corresponding basic figure, and the basic figure is obtained by person's handwriting to be simulated.? After step S100 obtains the graphical pointv that current time draws simulation person's handwriting, this step is rebuild using graphical pointv as coordinate origin Coordinate system using each point of person's handwriting layout function as the symmetrical centre of basic figure, generates and each point in this coordinate system One-to-one basic figure, wherein basic figure is the figure determined by person's handwriting to be simulated, specifically can be according to drafting to mould Intend the shape of the nib of person's handwriting to determine basic figure, such as nib is circle, person's handwriting the to be simulated reality which draws out It is to be collectively constituted by multiple circular points, therefore simulating when simulating person's handwriting on border, is more closed with circle to be simulated Reason.
Each basic figure is arranged according to the transparency distribution function of person's handwriting to be simulated under the coordinate system in S120 Transparency obtains the simulation person's handwriting at current time.Under the coordinate system constructed using graphical pointv as coordinate origin, person's handwriting layout Every bit both corresponds to a basic figure in function, while the abscissa of every bit is transparency point in person's handwriting layout function The function that the value of cloth function variable quantity, i.e. each basic figure on person's handwriting layout function both correspond to transparency distribution function It is worth, therefore can change the transparency of each basic figure by the setting to transparency distribution function, and transparency is distributed Function can be obtained according to the transparency distribution situation of person's handwriting to be simulated, therefore the setting by the transparency to basic figure is most The simulation person's handwriting at current time is obtained eventually.
The person's handwriting effect simulation method that the present embodiment is proposed draws the graphical pointv of simulation person's handwriting by obtaining current time, And coordinate system is constructed using the graphical pointv as coordinate origin, replace person's handwriting to be laid out letter with basic figure under constructed coordinate system Number is shown, and the transparency of each basic figure is arranged according to the transparency distribution function under the coordinate system, so that each The transparency of basic figure changes with the variation of its position on person's handwriting layout function, finally obtains the simulation pen at current time Mark, i.e., the person's handwriting effect simulation method proposed through the invention utilize person's handwriting layout function and transparency distribution function, can Realize that the person's handwriting effect of person's handwriting to be simulated customized to user is simulated, so that the function of abundant painting software, improves and use The painting experience at family.
As a kind of specific embodiment, according to the transparence information and point spread function of unit length person's handwriting to be simulated Determine the transparency distribution function, the point spread function is determined by the quantity information for forming the point of the person's handwriting to be simulated; Circulation value simulation is carried out to the coefficient of the point spread function, obtains person's handwriting layout function.In the present embodiment, with unit Length and the person's handwriting to be simulated with one fixed width are the object of simulation, firstly, can obtain transparency according to person's handwriting to be simulated Information and point spread function, such as drawn out by charcoal pencil one section wait simulate person's handwriting, the center brightness of person's handwriting to be simulated It is darker, and marginal portion is then brighter, shows in the person's handwriting to be simulated, transparence information has point similar to quadratic function Cloth rule, meanwhile, the number for forming the point of person's handwriting to be simulated can be obtained according to the size at the written position for drawing person's handwriting to be simulated Measure information, for example, for be drawn in unit length rectangle wait simulate person's handwriting for, it is assumed that nib is 1 millimeter of diameter of circle Shape, then quantity information includes the quantity of the point in the rectangle, about 30~50 points, and these points have certain distribution Rule, and point spread function can be obtained by according to the quantity and the regularity of distribution of the point for forming person's handwriting to be simulated, if to mould The quantity of point in quasi- person's handwriting is that centre is more and edge is few, then can determine that point spread function is quadratic function, such as The trend that the quantity of point in fruit person's handwriting to be simulated is successively decreased or is incremented by can then determine that point spread function is linear function, example Such as, for drawn by the charcoal pencil wait simulate person's handwriting, according to its quantity information put can determine point spread function be f (x)=- kx2+ b, if the point set transformation of person's handwriting to be simulated is gentle, the k value in the point spread function can take lesser value, such as k ∈ (0.5,2) determines the value that the b value in the point spread function can take according to the quantity of the point in the centre of person's handwriting to be simulated, As b ∈ (12,30) obtain so that the point spread function of simulation person's handwriting be determined according to the quantity information of the point of person's handwriting to be simulated After transparence information and point spread function wait simulate person's handwriting, so that it may determine the transparency distribution function of simulation person's handwriting, Transparency distribution function has similar functional form with point spread function;Secondly, after determining the point spread function for simulating person's handwriting, Since the constant in function all has certain value range, carries out circulation respectively to the coefficient of point spread function here and take Value simulation, for example, for point spread function f (x)=- kx2+ b, k ∈ (0.5,2), b ∈ (12,30), k with 0.1 for step-length from 0.5 is changed to the value each time that 2, b is changed to 30, k and b from 12 for step-length with 1, has all been determined that only one person's handwriting is laid out letter Number.In present embodiment, according to the point of the transparence information of the person's handwriting to be simulated of unit length and composition person's handwriting to be simulated Quantity information obtains person's handwriting layout function, since the person's handwriting layout function is the various letters based on the characteristic for reacting person's handwriting to be simulated What breath obtained, thus make to treat the simulation effect for simulating person's handwriting closer to person's handwriting to be simulated.
As a kind of specific embodiment, according to the transparence information and point spread function of unit length person's handwriting to be simulated The process for determining the transparency distribution function includes: that acquisition is described minimum wait simulate transparency maximum value and transparency in person's handwriting It is worth the location information of corresponding point;The coefficient for determining the point spread function according to the positional information obtains described Lightness distribution function.For example, still using the charcoal pencil person's handwriting of unit length as wait simulate person's handwriting, with transparency distribution function Functional value is that " 1 " representative is completely opaque, is that " 0 " represents all-transparent, i.e. transparency point with the functional value of transparency distribution function The value range of cloth function is [0,1], it is assumed that in the person's handwriting to be simulated, the corresponding point of transparency maximum value is located at pen to be simulated The intermediate position of mark, transparency is similar to 1, and the corresponding point of transparency minimum value is located at the two sides edge of person's handwriting to be simulated Position, transparency is about 0.3, and the rule of the transparency distribution of person's handwriting to be simulated is identical as point spread function, can be classified as Quadratic function, if transparency distribution function is quadratic function f (x)=- mx2+ n, then using the central point of person's handwriting to be simulated as The origin of the quadratic function, the length direction of person's handwriting to be simulated is as x-axis, according to the transparent of boundary point and origin person's handwriting to be simulated Degree is respectively 0.3 and 1, and the Coefficient m of transparency distribution function and the value of coefficient n can be determined by calculation, i.e., final according to thoroughly Lightness information and point spread function have determined the transparency distribution function of person's handwriting to be simulated.Present embodiment is with point spread function Similar transparent degree distribution function determines point spread function according to wait simulate transparency maximum value and transparency minimum value in person's handwriting Coefficient, and then transparency distribution function is obtained, the method for above-mentioned determining transparency distribution function is not necessarily to cumbersome calculating, therefore more For simple and effective.
As a kind of specific embodiment, it is round, oval for obtaining the basic figure of the person's handwriting to be simulated of unit length Any one in shape or equilateral triangle.Be made of due to person's handwriting to be simulated multiple points, and put shape and draw to The shape for simulating the nib part of person's handwriting is closely related, such as charcoal pencil person's handwriting, since the nib of charcoal pencil is circle, because This acquisition circle is treated simulation person's handwriting as basic figure and is simulated, so as to the simulation in acquisition closer to person's handwriting to be simulated Person's handwriting.
Meanwhile the invention also provides a kind of person's handwriting effect simulation arrangements, institute referring to fig. 2 in one of the embodiments, Show, the person's handwriting effect simulation arrangement includes:
Acquiring unit 200 draws the graphical pointv of simulation person's handwriting for obtaining current time.Under normal conditions, painting software Coordinate system is all provided on its painting canvas, every bit both corresponds to unique position coordinates on painting canvas, therefore acquiring unit 200 obtains Taking graphical pointv is to get position coordinates of the graphical pointv on painting software.As a kind of specific embodiment, this step In graphical pointv be the point of point or receptions touch event where cursor of mouse, if draw simulate the operation of person's handwriting be user with What cursor of mouse was realized, then point of the current time cursor of mouse on the painting canvas of painting software is just used as the drafting at current time Point, the coordinate of graphical pointv are the coordinate of cursor of mouse point;If the side that the operation for drawing simulation person's handwriting is user to touch What formula was realized, then receive the graphical pointv that point of the point of touch event on software painting canvas is just used as current time, the seat of graphical pointv Mark is the coordinate for receiving the point of touch event.
Generation unit 210, for using the graphical pointv as coordinate origin building coordinate system, and under the coordinate system to The each point for simulating the person's handwriting layout function of person's handwriting is that symmetrical centre generates corresponding basic figure, and the basic figure is by mould Quasi- person's handwriting obtains.After the graphical pointv that acquiring unit 200 obtains that current time draws simulation person's handwriting, generation unit 210 is to draw Point rebuilds coordinate system as coordinate origin, and in this coordinate system, generation unit 210 is made with each point of person's handwriting layout function For the symmetrical centre of basic figure, generation and each one-to-one basic figure of point, wherein basic figure is by pen to be simulated Mark determine figure, specifically can according to draw person's handwriting to be simulated nib shape be to determine basic figure, such as nib Circle, the person's handwriting to be simulated which draws out be actually collectively constituted by multiple circular points, therefore simulation to It is more reasonable simulate with circle when simulating person's handwriting.
Setting unit 220, for each institute to be arranged according to the transparency distribution function of person's handwriting to be simulated under the coordinate system State the transparency of basic figure.Under the coordinate system constructed using graphical pointv as coordinate origin, every bit is equal in person's handwriting layout function Corresponding to a basic figure, while in person's handwriting layout function, the abscissa of every bit is transparency distribution function variable quantity The functional value that value, i.e. each basic figure on person's handwriting layout function both correspond to transparency distribution function, therefore be arranged single Member 220 can change the transparency of each basic figure by the setting to transparency distribution function, and transparency is distributed letter Number can be obtained according to the transparency distribution situation of person's handwriting to be simulated, therefore by setting unit 220 to the transparent of basic figure The final simulation person's handwriting for obtaining current time of the setting of degree.
The person's handwriting effect simulation arrangement that the present embodiment is proposed obtains current time drafting simulation pen by acquiring unit 200 The graphical pointv of mark, generation unit 210 constructs coordinate system using the graphical pointv as coordinate origin, with base under constructed coordinate system Plinth figure replaces person's handwriting layout function to be shown, and setting unit 220 is set according to the transparency distribution function under the coordinate system The transparency of each basic figure is set, so that variation of the transparency of each basic figure with its position on person's handwriting layout function And change, the simulation person's handwriting at current time is finally obtained, i.e., the person's handwriting effect simulation arrangement proposed through the invention utilizes pen Mark layout function and transparency distribution function, the person's handwriting effect that can be realized person's handwriting to be simulated customized to user carry out mould It is quasi-, so that the function of abundant painting software, improves the painting experience of user.
As a kind of specific embodiment, person's handwriting effect simulation arrangement further includes for determining the transparency distribution letter Several and the person's handwriting layout function function determination unit, the function determination unit are saturating according to unit length person's handwriting to be simulated Lightness information and point spread function determine the transparency distribution function, and the point spread function is by forming the person's handwriting to be simulated Point quantity information determine;The function determination unit carries out circulation value simulation to the coefficient of the point spread function, obtains To person's handwriting layout function.In the present embodiment, with unit length and with one fixed width person's handwriting to be simulated be simulate pair As firstly, transparence information and point spread function can be obtained according to person's handwriting to be simulated, such as one section drawn out with charcoal pencil For simulating person's handwriting, the center brightness of person's handwriting to be simulated is darker, and marginal portion is then brighter, shows in the person's handwriting to be simulated In, transparence information has the regularity of distribution similar to quadratic function, meanwhile, according to the written position for drawing person's handwriting to be simulated Size can obtain the quantity information for forming the point of person's handwriting to be simulated, such as be drawn in unit length rectangle to mould For quasi- person's handwriting, it is assumed that the circle that nib is 1 millimeter of diameter, then quantity information includes the quantity of the point in the rectangle, about For 30~50 points, and these points have certain regularity of distribution, and according to the quantity for the point for forming person's handwriting to be simulated and minute Cloth rule can be obtained by point spread function, if the quantity wait simulate the point in person's handwriting is edge more than centre It is few, then it can determine that point spread function is quadratic function, if the becoming of successively decreasing or be incremented by of the quantity wait simulate the point in person's handwriting Gesture can then determine that point spread function is linear function, for example, drawn by the charcoal pencil wait simulate person's handwriting for, according to its point Quantity information can determine that point spread function is f (x)=- kx2+ b, if the point set transformation of person's handwriting to be simulated is gentle, the point minute K value in cloth function can take lesser value, and such as k ∈ (0.5,2), the quantity according to the point in the centre of person's handwriting to be simulated is true The value that b value in the fixed point spread function can take, such as b ∈ (12,30), thus according to the quantity information of the point of person's handwriting to be simulated The point spread function of simulation person's handwriting, after obtaining transparence information and the point spread function wait simulate person's handwriting, function has been determined Determination unit is assured that the transparency distribution function of simulation person's handwriting, transparency distribution function have similar with point spread function Functional form;Secondly, after determining the point spread function for simulating person's handwriting, since the constant in function all has certain value model It encloses, therefore function determination unit carries out circulation value simulation to the coefficient of point spread function respectively here, for example, for a distribution Function f (x)=- kx2+ b, k ∈ (0.5,2), b ∈ (12,30), k with 0.1 be step-length from 0.5 be changed to 2, b with 1 be step-length from 12 are changed to the value each time of 30, k and b, and function determination unit has all determined only one person's handwriting layout function.This embodiment party In formula, obtained according to the quantity information of the transparence information of the person's handwriting to be simulated of unit length and the point of composition person's handwriting to be simulated Person's handwriting layout function, since the person's handwriting layout function is the various information acquisitions based on the characteristic for reacting person's handwriting to be simulated, because And make to treat the simulation effect for simulating person's handwriting closer to person's handwriting to be simulated.
As a kind of specific embodiment, the function determination unit obtains described maximum wait simulate transparency in person's handwriting After being worth the location information of point corresponding with transparency minimum value, the point spread function is determined according to the positional information Coefficient obtains the transparency distribution function.For example, still using the charcoal pencil person's handwriting of unit length as wait simulate person's handwriting, with The functional value of transparency distribution function is that " 1 " representative is completely opaque, is that " 0 " representative is complete with the functional value of transparency distribution function Transparent, i.e., the value range of transparency distribution function is [0,1], it is assumed that in the person's handwriting to be simulated, transparency maximum value is corresponding Point be located at the intermediate position of person's handwriting to be simulated, transparency is similar to 1, and the corresponding point of transparency minimum value is located at wait simulate The both sides of the edge position of person's handwriting, transparency are about 0.3, the rule and point spread function phase of the transparency distribution of person's handwriting to be simulated Together, quadratic function can be classified as, if transparency distribution function is quadratic function f (x)=- mx2+ n, then with pen to be simulated Origin of the central point of mark as the quadratic function, the length direction of person's handwriting to be simulated are waited for as x-axis according to boundary point and origin The transparency for simulating person's handwriting is respectively 0.3 and 1, and the coefficient of transparency distribution function can be determined by calculation in function determination unit The value of m and coefficient n, i.e. function determination unit have finally determined person's handwriting to be simulated according to transparence information and point spread function Transparency distribution function.Present embodiment is with point spread function similar transparent degree distribution function, and function determination unit is according to mould Transparency maximum value and transparency minimum value determine the coefficient of point spread function in quasi- person's handwriting, and then obtain transparency distribution letter Number, the method that function determination unit determines transparency distribution function are not necessarily to cumbersome calculating, therefore more simple and effective.
As a kind of specific embodiment, the basic figure that acquiring unit obtains the person's handwriting to be simulated of unit length is circle Any one in shape, ellipse or equilateral triangle.Be made of due to person's handwriting to be simulated multiple points, and put shape with The shape for drawing the nib part of person's handwriting to be simulated is closely related, such as charcoal pencil person's handwriting, since the nib of charcoal pencil is Circle, thus acquiring unit obtain it is round treat simulation person's handwriting as basic figure and simulated, so as to obtain closer to Simulate the simulation person's handwriting of person's handwriting.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies 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, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of person's handwriting effect simulation method, which comprises the following steps:
Obtain the graphical pointv of current time drafting simulation person's handwriting;
Coordinate system is constructed using the graphical pointv as coordinate origin, and letter is laid out with the person's handwriting of person's handwriting to be simulated under the coordinate system Several each points is that symmetrical centre generates corresponding basic figure;
The transparency of each basic figure is set according to the transparency distribution function of person's handwriting to be simulated under the coordinate system, is obtained To the simulation person's handwriting at current time;
Wherein, the transparency distribution function is determined by the transparence information and point spread function of person's handwriting to be simulated, the person's handwriting Layout function is simulated to obtain by the coefficient circulation value of the point spread function;The point spread function is described wait simulate by forming The quantity information of the point of person's handwriting determines.
2. person's handwriting effect simulation method according to claim 1, which is characterized in that
The transparency distribution function is determined according to the transparence information of unit length person's handwriting to be simulated and point spread function, it is described Point spread function is determined by the quantity information for forming the point of the person's handwriting to be simulated;
Circulation value simulation is carried out to the coefficient of the point spread function, obtains person's handwriting layout function.
3. person's handwriting effect simulation method according to claim 2, which is characterized in that described according to unit length pen to be simulated The transparence information and point spread function of mark determine that the process of the transparency distribution function includes:
Obtain the location information wait simulate transparency maximum value and the corresponding point of transparency minimum value in person's handwriting;
The coefficient for determining the point spread function according to the positional information obtains the transparency distribution function.
4. person's handwriting effect simulation method according to any one of claim 1 to 3, which is characterized in that
The point of point or reception touch event of the graphical pointv where cursor of mouse.
5. person's handwriting effect simulation method according to any one of claim 1 to 3, which is characterized in that
The basic figure is any one in circle, ellipse or equilateral triangle.
6. a kind of person's handwriting effect simulation arrangement characterized by comprising
Acquiring unit draws the graphical pointv of simulation person's handwriting for obtaining current time;
Generation unit, for constructing coordinate system using the graphical pointv as coordinate origin, and with pen to be simulated under the coordinate system Each point of the person's handwriting layout function of mark is that symmetrical centre generates corresponding basic figure;
Setting unit, for each foundation drawing to be arranged according to the transparency distribution function of person's handwriting to be simulated under the coordinate system The transparency of shape obtains the simulation person's handwriting at current time;
Wherein, the transparency distribution function is determined by the transparence information and point spread function of person's handwriting to be simulated, the person's handwriting Layout function is simulated to obtain by the coefficient circulation value of the point spread function;The point spread function is described wait simulate by forming The quantity information of the point of person's handwriting determines.
7. person's handwriting effect simulation arrangement according to claim 6, which is characterized in that further include for determining the transparency The function determination unit of distribution function and the person's handwriting layout function,
The function determination unit determines described according to the transparence information and point spread function of unit length person's handwriting to be simulated Lightness distribution function, the point spread function are determined by the quantity information for forming the point of the person's handwriting to be simulated;
The function determination unit carries out circulation value simulation to the coefficient of the point spread function, obtains person's handwriting layout function.
8. person's handwriting effect simulation arrangement according to claim 7, which is characterized in that
The function determination unit obtains described corresponding wait simulate transparency maximum value and transparency minimum value in person's handwriting After the location information of point, the coefficient of the point spread function is determined according to the positional information, obtains the transparency distribution letter Number.
9. the person's handwriting effect simulation arrangement according to any one of claim 6 to 8, which is characterized in that
The point of point or reception touch event of the graphical pointv where cursor of mouse.
10. the person's handwriting effect simulation arrangement according to any one of claim 6 to 8, which is characterized in that
The basic figure is any one in circle, ellipse or equilateral triangle.
CN201510990945.7A 2015-12-23 2015-12-23 Handwriting effect simulation method and device Active CN105653124B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510990945.7A CN105653124B (en) 2015-12-23 2015-12-23 Handwriting effect simulation method and device
PCT/CN2016/090743 WO2017107474A1 (en) 2015-12-23 2016-07-20 Method and apparatus for simulating handwriting effect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510990945.7A CN105653124B (en) 2015-12-23 2015-12-23 Handwriting effect simulation method and device

Publications (2)

Publication Number Publication Date
CN105653124A CN105653124A (en) 2016-06-08
CN105653124B true CN105653124B (en) 2018-12-28

Family

ID=56476718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510990945.7A Active CN105653124B (en) 2015-12-23 2015-12-23 Handwriting effect simulation method and device

Country Status (2)

Country Link
CN (1) CN105653124B (en)
WO (1) WO2017107474A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653124B (en) * 2015-12-23 2018-12-28 广州视睿电子科技有限公司 Handwriting effect simulation method and device
CN110610532B (en) * 2019-08-12 2023-08-01 安徽石轩文化科技有限公司 Method for making animation special effects of ink and wash fluidity elements

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799735A (en) * 2009-02-10 2010-08-11 Tcl集团股份有限公司 Primary handwriting hand input display method
CN102103761A (en) * 2011-01-31 2011-06-22 周佳 Method for realizing original handwriting
CN103559732A (en) * 2013-10-15 2014-02-05 锐达互动科技股份有限公司 Method for generating writing brush handwriting
CN104345948A (en) * 2013-07-31 2015-02-11 北京壹人壹本信息科技有限公司 Implementation method and implementation device for original handwriting as well as electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014162604A1 (en) * 2013-04-05 2014-10-09 株式会社 東芝 Electronic device and handwriting data processing method
CN105653124B (en) * 2015-12-23 2018-12-28 广州视睿电子科技有限公司 Handwriting effect simulation method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799735A (en) * 2009-02-10 2010-08-11 Tcl集团股份有限公司 Primary handwriting hand input display method
CN102103761A (en) * 2011-01-31 2011-06-22 周佳 Method for realizing original handwriting
CN104345948A (en) * 2013-07-31 2015-02-11 北京壹人壹本信息科技有限公司 Implementation method and implementation device for original handwriting as well as electronic equipment
CN103559732A (en) * 2013-10-15 2014-02-05 锐达互动科技股份有限公司 Method for generating writing brush handwriting

Also Published As

Publication number Publication date
WO2017107474A1 (en) 2017-06-29
CN105653124A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN107636585B (en) Generation of three-dimensional fashion objects by drawing inside a virtual reality environment
CN103440101B (en) Processing method, system and the mobile phone of a kind of original handwriting data
CN106447713B (en) Method for automatic measurement and device based on cloud manikin
CN103559732B (en) A kind of method that generates writing brush person's handwriting
KR20130060145A (en) Processoing method and apparatus for beautifying handwritten input
CN104463938A (en) Three-dimensional virtual make-up trial method and device
CN105653124B (en) Handwriting effect simulation method and device
CN102999321B (en) Brush pen electronics paintbrush arranges device and brush pen electronics paintbrush
CN109671133A (en) Generation method, device, electronic equipment and the storage medium of track
CN108122272A (en) A kind of heart thumbs up the method for drafting of effect
RU2014141047A (en) METHOD FOR PROVIDING ONLINE GAMES FOR GRANTING CHARACTERS OF CHARACTERS AND SYSTEM FOR THIS
CN106933474A (en) Image blend processing method and processing device
CN104548597A (en) Navigation grid automatic-generation method and navigation grid automatic-generation device
CN108628455B (en) Virtual sand painting drawing method based on touch screen gesture recognition
CN106600664A (en) Drawing method and device of symmetric graph
Leal et al. 3d sketching using interactive fabric for tangible and bimanual input
CN103345565B (en) Instrument panel construction method for data display based on Flash technology
CN106951166A (en) Person's handwriting method for drafting and device
CN204242114U (en) Multifunction emulation capacitance pen
CN105243921B (en) A kind of calligraphy practice method and system based on mobile terminal
Blatner et al. TangiPaint: a tangible digital painting system
CN110442318A (en) A kind of indoor scene virtual experience system
CN104331176A (en) Multifunctional simulation capacitance pen
US20210090457A1 (en) Tattoo practicing aid
CN109375866A (en) A kind of system that screen touch clicks the method and realization that respond

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant