CN103854296B - The method and device that control pigment is tinted - Google Patents
The method and device that control pigment is tinted Download PDFInfo
- Publication number
- CN103854296B CN103854296B CN201210518086.8A CN201210518086A CN103854296B CN 103854296 B CN103854296 B CN 103854296B CN 201210518086 A CN201210518086 A CN 201210518086A CN 103854296 B CN103854296 B CN 103854296B
- Authority
- CN
- China
- Prior art keywords
- pigment
- tinted
- electronic equipment
- horizontal plane
- tinting
- 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
Links
- 239000000049 pigment Substances 0.000 title claims abstract description 183
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000004088 simulation Methods 0.000 claims abstract description 29
- 239000008187 granular material Substances 0.000 claims description 27
- 230000001133 acceleration Effects 0.000 claims description 23
- 239000002245 particle Substances 0.000 claims description 17
- 230000005484 gravity Effects 0.000 claims description 8
- 239000003973 paint Substances 0.000 claims description 6
- 239000004576 sand Substances 0.000 claims description 6
- 239000000463 material Substances 0.000 claims description 4
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 3
- 230000000694 effects Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000001960 triggered effect Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 238000011017 operating method Methods 0.000 description 4
- 238000010422 painting Methods 0.000 description 4
- 239000011248 coating agent Substances 0.000 description 3
- 238000000576 coating method Methods 0.000 description 3
- 238000004040 coloring Methods 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 229920000297 Rayon Polymers 0.000 description 1
- 244000309466 calf Species 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 206010016256 fatigue Diseases 0.000 description 1
- 239000003292 glue Substances 0.000 description 1
- 238000010421 pencil drawing Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000035807 sensation Effects 0.000 description 1
- 241000894007 species Species 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The present invention relates to the method and device that control pigment is tinted, wherein the method that control pigment is tinted includes:Select the color of the pigment to be tinted;The control instruction for receiving the position on triggering electronic equipment on the picture that shows and producing, according to control instruction using the corresponding region of tinting in this position as current region of tinting, and shows at this position the pigment of scheduled volume;And when receiving electronic equipment and with respect to the horizontal plane changing nyctitropic sensing signal, the direction calculating then with respect to the horizontal plane changed according to electronic equipment goes out the running orbit that the true pigment of simulation should have, and controls the pigment to be tinted to be shown in current region of tinting according to this running orbit.The present invention can reduce running cost, be rapidly completed and tint, be supplied to the more preferable operating experience of user.
Description
Technical field
The present invention relates to coat technique field, more particularly to the control pigment method tinted and the dress for controlling pigment to tint
Put.
Background technology
It is a kind of important drawing processing method in painting field to tint.Especially child passes through on paper or on wall
After the stage of coating and drawing at random, understood coating colour and general coating and drawing at random be different, carry out picture tint can make it is small
Friend is giocoso familiar with the sensation to various colors.In recent years, class of tinting application is also gradually being risen, and its quantity is also increasingly
Many, user is to the species of paintbrush of tinting, the requirement also more and more higher for experience of tinting.
In order to provide the user with more preferable operating experience, the application of tinting based on physical engine on the market is such a to apply
The coloring method step of color application mainly includes:Dyestripping, viscose glue, select pigment color and tinted using pigment.But
Such a coloring method cost is also higher, and its operating process all complex for some adults, often allows painting
Color user feels very tired out, even more extremely difficult for child.Therefore current coloring method can not also meet use
The demand that family is more easily tinted.
The content of the invention
Therefore, the present invention provides the control method and device that pigment is tinted, and can reduce running cost, be rapidly completed painting
Color, it is supplied to the more preferable operating experience of user.
Specifically, the method that a kind of control pigment that the embodiment of the present invention is proposed is tinted, including step:What selection to be tinted
The color of pigment;The control instruction for receiving the position on the picture shown on triggering electronic equipment and producing, refers to according to control
The corresponding region of tinting in this position as current region of tinting, and is shown at this position the pigment of scheduled volume by order;And
When receiving electronic equipment and with respect to the horizontal plane changing nyctitropic sensing signal, then with respect to the horizontal plane changed according to electronic equipment
Direction calculating go out the running orbit that the true pigment of simulation should have, and control the pigment to be tinted in current region of tinting
It is interior to be shown according to this running orbit.
In addition, the device tinted of a kind of control pigment that the embodiment of the present invention is proposed, including color selecting module, region are true
Cover half block and control are tinted module, color selecting module, the color for selecting the pigment to be tinted;Area determination module,
For the control instruction for receiving the position on triggering electronic equipment on the picture that shows and producing, according to control instruction by this position
Corresponding region of tinting is put as current region of tinting, and shows at this position the pigment of scheduled volume;Module of tinting is controlled,
When with respect to the horizontal plane changing nyctitropic sensing signal for receiving electronic equipment, then according to electronic equipment with respect to the horizontal plane
The direction calculating of change goes out the running orbit that the true pigment of simulation should have, and controls the pigment to be tinted to be tinted in current
Shown in region according to this running orbit.
From above-described embodiment, the present invention is produced by receiving the position on the picture shown on triggering electronic equipment
Raw control instruction, according to this control instruction using the corresponding region of tinting in this position as current region of tinting, and in this position
The pigment that place shows scheduled volume is put, when receiving electronic equipment and with respect to the horizontal plane changing nyctitropic sensing signal, then according to electricity
The direction calculating that sub- equipment with respect to the horizontal plane changes goes out the running orbit that the true pigment of simulation should have, and controls to tint
Pigment shown in current region of tinting according to this running orbit.So, tinted due to reducing control pigment
Operating procedure, tints so as to quickly complete, and greatly reduces running cost, meets user and more easily carries out pigment
The demand tinted, allows user more preferably to be experienced.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow the above and other objects, features and advantages of the present invention can
Become apparent, below especially exemplified by preferred embodiment, and coordinate accompanying drawing, describe in detail as follows.
Brief description of the drawings
Fig. 1 is the step flow chart for the method that the control pigment that the embodiment of the present invention is proposed is tinted;
Fig. 2 is picture, the schematic diagram of the color of pigment that the embodiment of the present invention is proposed;
Fig. 3 is the schematic diagram that pigment is shown at the position of picture one that the embodiment of the present invention is proposed;
Fig. 4 is the step flow chart for the method that the control pigment that another embodiment of the present invention is proposed is tinted;
Fig. 5 is the main frame block diagram for the device that the control pigment that the embodiment of the present invention is proposed is tinted.
Embodiment
Further to illustrate the present invention to reach the technological means and effect that predetermined goal of the invention is taken, below in conjunction with
Accompanying drawing and preferred embodiment, to tinted according to control pigment proposed by the present invention method and device its embodiment, knot
Structure, feature and effect, are described in detail as after.
For the present invention foregoing and other technology contents, feature and effect, in the following preferable reality coordinated with reference to schema
Applying during example is described in detail to be clearly presented.By the explanation of embodiment, when predetermined mesh can be reached to the present invention
The technological means taken and effect be able to more deeply and it is specific understand, but institute's accompanying drawings are only to provide with reference to saying
It is bright to be used, not for being any limitation as to the present invention.
Fig. 1 is the step flow chart for the method that the control pigment that the embodiment of the present invention is proposed is tinted.Fig. 2 is implementation of the present invention
Picture, the schematic diagram of the color of pigment of example proposition.Fig. 3 be the embodiment of the present invention propose show pigment at the position of picture one
Schematic diagram.Also referring to Fig. 1 to Fig. 3, the method that the control pigment of the embodiment of the present invention is tinted may include following steps
S101-S105:
Step S101:Select the color of the pigment to be tinted.
In this step, by taking Fig. 2 as an example, the color of the pigment of selection can be multiple color, such as pigment color 207.
Pigment can be color sand etc..
Step S103:The control instruction for receiving the position on the picture shown on triggering electronic equipment and producing, according to
The corresponding region of tinting in this position as current region of tinting, and is shown at this position the face of scheduled volume by this control instruction
Material.
In this step, electronic equipment can be the arbitrary electronic equipment such as mobile phone, game machine, computer.Region is tinted to scheme
Piece needs the region tinted.The position triggered on picture can be the position touched, clicked on picture by finger
Or other modes triggering.This position for being triggered is corresponding to tint the area that tints that region can be where this position for being triggered
Domain.Illustrated by taking Fig. 3 as an example, the trigger action such as user by touching, clicking on a certain position 303 of picture 301 is equal
It can produce corresponding control instruction, and the region of tinting where Pictures location 303 is nose 302, it is thus, current in this step
It is just nose 302 to tint region.The pigment of scheduled volume can be indicated with the area of pigment, shape etc..By taking Fig. 3 as an example,
The method that a certain position 303 of picture 301 shows the pigment of scheduled volume, can be by the way that pigment to be poured on to a certain of picture out of bottle
Animation effect carries out ocular demonstration on position 303.
Step S105:When receiving electronic equipment and with respect to the horizontal plane changing nyctitropic sensing signal, then set according to electronics
The standby direction calculating with respect to the horizontal plane changed goes out the running orbit that the true pigment of simulation should have, and controls the face to be tinted
Material is shown in current region of tinting according to this running orbit, pigment is carried out in current region of tinting to reach
The purpose tinted.
In this step, the direction with respect to the horizontal plane changed can be to be inclined relative to horizontal.Gravity can be passed through
Whether the sensors such as sensor, acceleration transducer sensing electronic equipment with respect to the horizontal plane changes direction, and provides electronics and set
It is standby with respect to the horizontal plane whether to change nyctitropic sensing signal.
Wherein, the direction calculating with respect to the horizontal plane changed according to electronic equipment goes out the fortune that the true pigment of simulation should have
Row track, and the side of implementing for controlling the pigment to be tinted to be shown in current region of tinting according to this running orbit
Method can be adopted with the following method:When receiving electronic equipment and with respect to the horizontal plane changing nyctitropic sensing signal, by simulation
The parameters such as each particle initialization inertia coeffeicent, quality, the coefficient of friction of true pigment;Electronic equipment can be measured due to weight
Acceleration caused by power;The angle of inclination of electronic equipment with respect to the horizontal plane is calculated further according to acceleration magnitude;Further according to inclining
Rake angle draws each particle of the true pigment of the simulation gravitational acceleration component of incline direction, each pigment along the horizontal plane
Grain and the parameter such as frictional force, the frictional force of each granules of pigments each other on electronic equipment surface;Further according to each pigment
The grain gravitational acceleration component of incline direction, frictional force, the inertia characteristics of each granules of pigments, each granules of pigments along the horizontal plane
The running orbit that each particle for the true pigment for calculating simulation with the parameter such as the stressing conditions on electronic equipment surface should have
(Running orbit not only include motion when track, also including finally when each granules of pigments motion to a certain extent when due to
It will be attached on electronic equipment surface with the reason such as the stressing conditions on electronic equipment surface and be ultimately at inactive state), and
The granules of pigments to be tinted of control is shown in current region of tinting according to this running orbit, current without departing from this
Tint region, user is experienced the true effect that each granules of pigments flows and tinted on picture.It is logical
During excessive secondary control electronic equipment with respect to the horizontal plane different directions inclination, then it can make pigment in current region of tinting along not
Equidirectional track shown, is currently tinted in region so as to reach pigment being equably coated in, is covered with and currently tints
The purpose in region.
In embodiments of the present invention, the present invention is produced by receiving the position on the picture shown on triggering electronic equipment
Raw control instruction, according to this control instruction using the corresponding region of tinting in this position as current region of tinting, and in this position
The pigment that place shows scheduled volume is put, when receiving electronic equipment and with respect to the horizontal plane changing nyctitropic sensing signal, then according to electricity
The direction calculating that sub- equipment with respect to the horizontal plane changes goes out the running orbit that the true pigment of simulation should have, and controls to tint
Pigment shown in current region of tinting according to this running orbit.So, tinted due to reducing control pigment
Operating procedure, tints so as to quickly complete, and greatly reduces running cost, meets user and more easily carries out pigment
The demand tinted, allows user more preferably to be experienced.
Fig. 4 is the step flow chart for the method that control pigment provided in an embodiment of the present invention is tinted.Fig. 4 is the base in Fig. 1
Improved on plinth.Also referring to Fig. 2 to Fig. 4, the method that the control pigment of the embodiment of the present invention is tinted may include following
Step S401-S411:
Step S401:Selection needs the picture tinted, and this picture is divided into what multiple needs were tinted in advance
Tint region.
, it is necessary to which the picture tinted is loaded into painting for software of tinting after being selected from picture library in this step
Area is drawn, it is necessary to which the picture tinted deposits in electronic equipment after being divided into multiple regions of tinting for needing to be tinted in advance
Picture library in.By taking Fig. 2 as an example, the calf picture 201 for being loaded into drawing area 200 is selected to be divided in advance from picture library in Fig. 2
It is segmented into multiple closed areas for needing to tint such as nose 202, ear 203.
Specifically step is may also include before step S401:
Create drawing area, drawing type selecting area, pigment color selection area etc..
Wherein, the picture tinted the need for placing loading is used in drawing area, drawing type selecting area to be used to provide drawing
Type be paintbrush type(Watercolor pencil drawing 204 as shown in Figure 2, touch drawing 205, pigment drawing 206 etc.), pigment face
Color sorting selects the color that area is used to provide pigment(18 kinds of pigment colors as shown in Figure 2, such as pigment color 207).Wherein paint
Draw area, drawing type selecting area, pigment color selection area implementation method compared with software of tinting implementation method, herein no longer
Repeat.Pigment can be color sand.
Step S403:Pigment drawing type is selected, and regard selected pigment drawing type as current drawing type.
In this step, drawing type is paintbrush type, herein, and the drawing type of selection is pigment drawing type(Such as Fig. 2
Shown pigment drawing 206), in other embodiments, or other types, pigment can be color sand.
Step S405:Select the color of the pigment to be tinted.
In this step, by taking Fig. 2 as an example, the color of the pigment of selection can be multiple color, such as pigment color 207.
Step S407:The control instruction for receiving the position on the picture shown on triggering electronic equipment and producing, according to
The corresponding region of tinting in this position as current region of tinting, and is shown at this position the face of scheduled volume by this control instruction
Material.
In this step, electronic equipment can be the arbitrary electronic equipment such as mobile phone, game machine, computer.Region is tinted to scheme
Piece needs the region tinted.The position triggered on picture can be the position touched, clicked on picture by finger
Or other modes triggering.This position for being triggered is corresponding to tint the area that tints that region can be where this position for being triggered
Domain.Illustrated by taking Fig. 3 as an example, the trigger action such as user by touching, clicking on a certain position 303 of picture 301 is equal
It can produce corresponding control instruction, and the region of tinting where Pictures location 303 is nose 302, it is thus, current in this step
It is just nose 302 to tint region.The pigment of scheduled volume can be indicated with the area of pigment, shape etc..By taking Fig. 3 as an example,
The method that a certain position 303 of picture 301 shows the pigment of scheduled volume, can be by the way that pigment to be poured on to a certain of picture out of bottle
Animation effect carries out ocular demonstration on position 303.
Step S409:Whether sensing electronic equipment with respect to the horizontal plane changes direction, and provides electronic equipment relative to water
Whether plane changes nyctitropic sensing signal.
In this step, electronic equipment can be sensed by sensors such as gravity sensor, acceleration transducers relative to water
Whether plane changes direction, and provides whether electronic equipment with respect to the horizontal plane changes nyctitropic sensing signal.
Step S411:This sensing signal is received, and is that electronic equipment with respect to the horizontal plane changes direction in this sensing signal
Sensing signal when, then what the true pigment that the direction calculating with respect to the horizontal plane changed according to electronic equipment goes out simulation should have
Running orbit, and control the pigment to be tinted to be shown in current region of tinting according to this running orbit, made with reaching
The purpose that pigment is tinted in current region of tinting.
In this step, the direction with respect to the horizontal plane changed can be to be inclined relative to horizontal.
Wherein, the direction calculating with respect to the horizontal plane changed according to electronic equipment goes out the fortune that the true pigment of simulation should have
Row track, and the side of implementing for controlling the pigment to be tinted to be shown in current region of tinting according to this running orbit
Method can be adopted with the following method:When receiving electronic equipment and with respect to the horizontal plane changing nyctitropic sensing signal, by simulation
The parameters such as each particle initialization inertia coeffeicent, quality, the coefficient of friction of true pigment;Electronic equipment can be measured due to weight
Acceleration caused by power;The angle of inclination of electronic equipment with respect to the horizontal plane is calculated further according to acceleration magnitude;Further according to inclining
Rake angle draws each particle of the true pigment of the simulation gravitational acceleration component of incline direction, each pigment along the horizontal plane
Grain and the parameter such as frictional force, the frictional force of each granules of pigments each other on electronic equipment surface;Further according to each pigment
The grain gravitational acceleration component of incline direction, frictional force, the inertia characteristics of each granules of pigments, each granules of pigments along the horizontal plane
The running orbit that each particle for the true pigment for calculating simulation with the parameter such as the stressing conditions on electronic equipment surface should have
(Running orbit not only include motion when track, also including finally when each granules of pigments motion to a certain extent when due to
It will be attached on electronic equipment surface with the reason such as the stressing conditions on electronic equipment surface and be ultimately at inactive state), and
The granules of pigments to be tinted of control is shown in current region of tinting according to this running orbit, current without departing from this
Tint region, user is experienced the true effect that each granules of pigments flows and tinted on picture.It is logical
During excessive secondary control electronic equipment with respect to the horizontal plane different directions inclination, then it can make pigment in current region of tinting along not
Equidirectional track shown, is currently tinted in region so as to reach pigment being equably coated in, is covered with and currently tints
The purpose in region.
In an embodiment of the present invention, the present invention is by regarding selected pigment drawing type as current drawing class
Type, the control instruction for receiving the position on triggering electronic equipment on the picture that shows and producing, according to this control instruction by this
The corresponding region of tinting in position shows at this position the pigment of scheduled volume as current region of tinting, and receives electronics
When equipment with respect to the horizontal plane changes nyctitropic sensing signal, then the direction calculating with respect to the horizontal plane changed according to electronic equipment
Go out the running orbit that the true pigment of simulation should have, and control the pigment to be tinted to be transported in current region of tinting according to this
Row track is shown.So, due to reducing the operating procedure that control pigment is tinted, tinted so as to quickly complete,
Running cost is greatly reduced, user is met and more easily carries out the demand that pigment is tinted, allow user more preferably to be experienced.
Fig. 5 is the main frame block diagram for the device that the control pigment that another embodiment of the present invention is proposed is tinted.Refer to figure
5, the device that control pigment is tinted includes:Color selecting module 501, area determination module 503 and control are tinted module 505.
Color selecting module 501, the color for selecting the pigment to be tinted.Wherein, this pigment can be color sand.
Area determination module 503, for the control for receiving the position on the picture shown on triggering electronic equipment and producing
System instruction, according to this control instruction using the corresponding region of tinting in this position as current region of tinting, and shows at this position
Show the pigment of scheduled volume.
Wherein, corresponding tint region of the region where this position of tinting in this position.
Module 505 of tinting is controlled, when with respect to the horizontal plane changing nyctitropic sensing signal for receiving electronic equipment, then
The direction calculating with respect to the horizontal plane changed according to electronic equipment goes out the running orbit that the true pigment of simulation should have, and controls
The pigment to be tinted is shown in current region of tinting according to this running orbit.
In addition, the device that control pigment is tinted can also include:Sensor 506.
Sensor 506, for sensing whether electronic equipment with respect to the horizontal plane changes direction, and it is relative to provide electronic equipment
Whether change nyctitropic sensing signal in horizontal plane.Sensor 506 can be gravity sensor, acceleration transducer etc..
Wherein, the direction with respect to the horizontal plane changed is to be inclined relative to horizontal.
In addition, control is tinted module 505, be additionally operable to receive sensing signal, and sensing signal be electronic equipment relative to
When horizontal plane changes nyctitropic sensing signal, then each particle of the true pigment of simulation is initialized into inertia coeffeicent, quality, rubbed
Wipe the parameters such as coefficient;Electronic equipment can be measured due to acceleration caused by gravity;Electricity is calculated further according to acceleration magnitude
The angle of inclination of sub- equipment with respect to the horizontal plane;Draw each particle of true pigment of simulation along level further according to angle of inclination
Frictional force, each granules of pigments phase of the gravitational acceleration component of face incline direction, each granules of pigments with electronic equipment surface
The parameters such as the frictional force between mutually;Further according to the gravitational acceleration component of incline direction, the friction along the horizontal plane of each granules of pigments
The parameters such as power, the inertia characteristics of each granules of pigments, each granules of pigments and the stressing conditions on electronic equipment surface calculate depanning
The running orbit that each particle for the true pigment intended should have(Running orbit not only includes track during motion, also including most
Afterwards when each granules of pigments motion to a certain extent when due to that will adhere to the reason such as the stressing conditions on electronic equipment surface
Inactive state is ultimately on electronic equipment surface), and control the granules of pigments to be tinted to be tinted in current in region
Shown according to this running orbit, without departing from this region of currently tinting, so user can be made to experience each pigment
The true effect that particle flows and tinted on picture.
In addition, the device that control pigment is tinted can also include:Picture selecting module 507 and drawing type selecting mould
Block 509.
Picture selecting module 507, for the picture for selecting to need to be tinted, wherein, this picture is divided into many in advance
The individual region of tinting for needing to be tinted.
Paint type selection module 509, for select pigment paint type, and using selected pigment paint type as
Current drawing type.
In an embodiment of the present invention, the present invention is by regarding selected pigment drawing type as current drawing class
Type, the control instruction for receiving the position on triggering electronic equipment on the picture that shows and producing, according to this control instruction by this
The corresponding region of tinting in position shows at this position the pigment of scheduled volume as current region of tinting, and receives electronics
When equipment with respect to the horizontal plane changes nyctitropic sensing signal, then the direction calculating with respect to the horizontal plane changed according to electronic equipment
Go out the running orbit that the true pigment of simulation should have, and control the pigment to be tinted to be transported in current region of tinting according to this
Row track is shown.So, due to reducing the operating procedure that control pigment is tinted, tinted so as to quickly complete,
Running cost is greatly reduced, user is met and more easily carries out the demand that pigment is tinted, allow user more preferably to be experienced.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is controlled to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access
Memory, RAM)Deng.
The above described is only a preferred embodiment of the present invention, any formal limitation not is made to the present invention, though
So the present invention is disclosed above with preferred embodiment, but is not limited to the present invention, any to be familiar with this professional technology people
Member, without departing from the scope of the present invention, when the technology contents using the disclosure above make a little change or modification
For the equivalent embodiment of equivalent variations, as long as being the technical spirit pair according to the present invention without departing from technical solution of the present invention content
Any simple modification, equivalent variations and modification that above example is made, in the range of still falling within technical solution of the present invention.
Claims (11)
1. a kind of method for controlling pigment to tint, it is characterized in that:Including step:
Select the color of the pigment to be tinted;
The control instruction for receiving the position on the picture shown on triggering electronic equipment and producing, should according to the control instruction
The corresponding region of tinting in position shows at the position pigment of scheduled volume as current region of tinting;And
When receiving the electronic equipment and with respect to the horizontal plane changing nyctitropic sensing signal, then according to the electronic equipment relative to this
The direction calculating that horizontal plane changes goes out the running orbit that the true pigment of simulation should have, and controls the pigment to be tinted at this
Shown in current region of tinting according to the running orbit.
2. the method that control pigment according to claim 1 is tinted, it is characterized in that:Performing the pigment to be tinted of selection
Before the step of color, in addition to step:
Selection needs the picture tinted, and the picture is divided into multiple regions of tinting for needing to be tinted in advance;And
Pigment drawing type is selected, and regard selected pigment drawing type as current drawing type.
3. the method that control pigment according to claim 1 is tinted, it is characterized in that:The electronic equipment phase is received in execution
In the step of when changing nyctitropic sensing signal for horizontal plane, in addition to step:
Sense whether the electronic equipment with respect to the horizontal plane changes direction, and provide whether the electronic equipment with respect to the horizontal plane changes
Nyctitropic sensing signal.
4. the method that control pigment according to claim 1 is tinted, it is characterized in that:It is relative according to the electronic equipment performing
In the step of the running orbit that the true pigment that the direction calculating that the horizontal plane changes goes out simulation should have, in addition to step:
By each particle initialization inertia coeffeicent, quality, the coefficient of friction of the true pigment of the simulation;
The electronic equipment is measured due to acceleration caused by gravity;
The angle of inclination of the electronic equipment with respect to the horizontal plane is calculated according to the acceleration magnitude;
Show that gravity of each particle along the horizontal plane direction of the true pigment of the simulation accelerates according to the angle of inclination
Spend frictional force, the frictional force of each granules of pigments each other on component, each granules of pigments and the electronic equipment surface;
According to each granules of pigments along the gravitational acceleration component in the horizontal plane direction, frictional force, each granules of pigments
The stressing conditions of inertia characteristics, each granules of pigments and the electronic equipment surface calculate each of the true pigment of the simulation
The running orbit that grain should have.
5. the method that control pigment according to claim 1 is tinted, it is characterized in that:The pigment is color sand, relative to the water
The direction that plane changes is corresponding tint area of the region where the position that tint in the position relative to the horizontal plane
Domain.
6. a kind of device for controlling pigment to tint, it is characterised in that it includes:
Color selecting module, the color for selecting the pigment to be tinted;
Area determination module, for the control instruction for receiving the position on the picture shown on triggering electronic equipment and producing,
The corresponding region of tinting in the position is shown by scheduled volume as current region of tinting, and at the position according to the control instruction
Pigment;And
Control is tinted module, when with respect to the horizontal plane changing nyctitropic sensing signal for receiving the electronic equipment, then basis
The electronic equipment is controlled relative to the running orbit that the true pigment that the direction calculating that the horizontal plane changes goes out simulation should have
The pigment to be tinted is shown in region of tinting in this prior according to the running orbit.
7. the device that control pigment according to claim 6 is tinted, it is characterised in that it further comprises:
Picture selecting module, for selecting to need the picture tinted, the picture is divided into advance multiple to be needed to be applied
The region of tinting of color.
8. the device that control pigment according to claim 6 is tinted, it is characterised in that it further comprises:
Paint type selection module, for selecting pigment to paint type, and will selected pigment drawing type as current
Drawing type.
9. the device that control pigment according to claim 6 is tinted, it is characterised in that it further comprises:
Whether sensor, direction is with respect to the horizontal plane changed for sensing the electronic equipment, and provide the electronic equipment relative to
Whether horizontal plane changes nyctitropic sensing signal, and the sensor is gravity sensor or acceleration transducer.
10. the device tinted of control pigment according to claim 9, it is characterised in that the control is tinted module, is additionally operable to
The sensing signal is received, and when the sensing signal is that the electronic equipment changes nyctitropic sensing signal relative to the horizontal plane,
Each particle of the true pigment of the simulation is then initialized into inertia coeffeicent, quality, coefficient of friction;Measure the electronic equipment by
In acceleration caused by gravity;The angle of inclination of the electronic equipment with respect to the horizontal plane is calculated according to the acceleration magnitude;Root
Drawn according to the angle of inclination the true pigment of the simulation gravitational acceleration component of each particle along the horizontal plane direction,
Each granules of pigments and frictional force, the frictional force of each granules of pigments each other on the electronic equipment surface;According to each face
Expect particle along the gravitational acceleration component in the horizontal plane direction, frictional force, the inertia characteristics of each granules of pigments, each face
The operation that each particle for the true pigment that material particle and the stressing conditions on the electronic equipment surface calculate the simulation should have
Track.
11. the device that control pigment according to claim 6 is tinted, it is characterised in that the pigment is color sand, relative to this
The direction that horizontal plane changes is corresponding tint area of the region where the position that tint in the position relative to the horizontal plane
Domain.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210518086.8A CN103854296B (en) | 2012-12-06 | 2012-12-06 | The method and device that control pigment is tinted |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210518086.8A CN103854296B (en) | 2012-12-06 | 2012-12-06 | The method and device that control pigment is tinted |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103854296A CN103854296A (en) | 2014-06-11 |
CN103854296B true CN103854296B (en) | 2017-10-03 |
Family
ID=50861907
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210518086.8A Active CN103854296B (en) | 2012-12-06 | 2012-12-06 | The method and device that control pigment is tinted |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103854296B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105976419A (en) * | 2016-05-05 | 2016-09-28 | 乐视控股(北京)有限公司 | Method and apparatus for acquiring paintings and projecting animation |
CN110895653B (en) * | 2018-09-11 | 2023-09-29 | 广州金山移动科技有限公司 | Document content altering method and device, electronic equipment and readable storage medium |
WO2023273761A1 (en) * | 2021-06-30 | 2023-01-05 | 海信视像科技股份有限公司 | Display device and image processing method |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07141514A (en) * | 1993-11-12 | 1995-06-02 | Fujitsu Ltd | Graphic I / O device |
US5630038A (en) * | 1991-12-18 | 1997-05-13 | International Business Machines Corporation | Method and apparatus for coloring an image on a screen |
CN1543741A (en) * | 2001-04-09 | 2004-11-03 | 欧姆龙株式会社 | Image printer, image printing method, printing media, program and printing media unit |
CN1696924A (en) * | 2004-05-11 | 2005-11-16 | 韩银华 | Drawing paint by people hand in hand |
CN101268434A (en) * | 2005-08-22 | 2008-09-17 | 三星电子株式会社 | An autonomous handheld device having a drawing tool |
CN101393505A (en) * | 2007-09-21 | 2009-03-25 | 鸿富锦精密工业(深圳)有限公司 | Picture browsing method and electronic equipment using the method |
CN101980129A (en) * | 2010-10-25 | 2011-02-23 | 中兴通讯股份有限公司 | Portable equipment screen unlocking device and method |
CN102053794A (en) * | 2010-12-31 | 2011-05-11 | 东莞宇龙通信科技有限公司 | Method for unlocking display screen and mobile terminal |
CN102542580A (en) * | 2010-12-14 | 2012-07-04 | 上海三旗通信科技股份有限公司 | Drawing board function based on cells |
-
2012
- 2012-12-06 CN CN201210518086.8A patent/CN103854296B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5630038A (en) * | 1991-12-18 | 1997-05-13 | International Business Machines Corporation | Method and apparatus for coloring an image on a screen |
JPH07141514A (en) * | 1993-11-12 | 1995-06-02 | Fujitsu Ltd | Graphic I / O device |
CN1543741A (en) * | 2001-04-09 | 2004-11-03 | 欧姆龙株式会社 | Image printer, image printing method, printing media, program and printing media unit |
CN1696924A (en) * | 2004-05-11 | 2005-11-16 | 韩银华 | Drawing paint by people hand in hand |
CN101268434A (en) * | 2005-08-22 | 2008-09-17 | 三星电子株式会社 | An autonomous handheld device having a drawing tool |
CN101393505A (en) * | 2007-09-21 | 2009-03-25 | 鸿富锦精密工业(深圳)有限公司 | Picture browsing method and electronic equipment using the method |
CN101980129A (en) * | 2010-10-25 | 2011-02-23 | 中兴通讯股份有限公司 | Portable equipment screen unlocking device and method |
CN102542580A (en) * | 2010-12-14 | 2012-07-04 | 上海三旗通信科技股份有限公司 | Drawing board function based on cells |
CN102053794A (en) * | 2010-12-31 | 2011-05-11 | 东莞宇龙通信科技有限公司 | Method for unlocking display screen and mobile terminal |
Non-Patent Citations (1)
Title |
---|
Photo-Brush:图片特效编辑软件 提供各种绘画功能;niuhua;《http://www.thethirdmedia.com/Article/201012/show252015c29p1.html》;20100823;第1页,第3页,图5-6 * |
Also Published As
Publication number | Publication date |
---|---|
CN103854296A (en) | 2014-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12135859B2 (en) | Pervasive 3D graphical user interface | |
Baxter et al. | DAB: Interactive haptic painting with 3D virtual brushes | |
US9645664B2 (en) | Natural media painting using proximity-based tablet stylus gestures | |
Zhang et al. | Computational hydrographic printing | |
US8854342B2 (en) | Systems and methods for particle-based digital airbrushing | |
US20140267189A1 (en) | Digital Coloring Tools Kit With Dynamic Digital Paint Palette | |
US20130229390A1 (en) | Methods and Apparatus for Deformation of Virtual Brush Marks via Texture Projection | |
CN103854296B (en) | The method and device that control pigment is tinted | |
US20140229873A1 (en) | Dynamic tool control in a digital graphics system using a vision system | |
CN100557639C (en) | Three-dimensional virtual human body movement generation method based on key frame and space-time restriction | |
JP2016509292A5 (en) | ||
CN106998870A (en) | Equipment for being applied to coating on nail | |
CN106029187A (en) | Advanced game mechanics on hover-sensitive devices | |
Guo et al. | Skywork-daVinci: A novel CPSS-based painting support system | |
US10685472B1 (en) | Animation brushes | |
CN103823625B (en) | Control method, device and the mobile terminal of mobile terminal median surface picture | |
CN106713965A (en) | Information display method and device | |
Zhang et al. | Coloring 3D printed surfaces by thermoforming | |
CN101416222A (en) | Image creating device, image creating method, information recording medium, and program | |
CN116992673A (en) | An online simulation method for car paint spraying using layered adhesion and layered rendering | |
JPH02216519A (en) | Graphics system | |
CN108227928A (en) | Pick-up method and device in a kind of virtual reality scenario | |
Stuyck et al. | Real‐Time Oil Painting on Mobile Hardware | |
US12001656B2 (en) | Digital imaging of granular media in graphics applications | |
Cockshott | Wet and sticky: a novel model for computer-based painting |
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 |