CN110433000A - A kind of object painting methods, device, equipment and storage medium - Google Patents

A kind of object painting methods, device, equipment and storage medium Download PDF

Info

Publication number
CN110433000A
CN110433000A CN201910722282.9A CN201910722282A CN110433000A CN 110433000 A CN110433000 A CN 110433000A CN 201910722282 A CN201910722282 A CN 201910722282A CN 110433000 A CN110433000 A CN 110433000A
Authority
CN
China
Prior art keywords
colouring
data
parameter
layer
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910722282.9A
Other languages
Chinese (zh)
Other versions
CN110433000B (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.)
Tangci Tangshan Biotechnology Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201910722282.9A priority Critical patent/CN110433000B/en
Publication of CN110433000A publication Critical patent/CN110433000A/en
Application granted granted Critical
Publication of CN110433000B publication Critical patent/CN110433000B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61CDENTISTRY; APPARATUS OR METHODS FOR ORAL OR DENTAL HYGIENE
    • A61C13/00Dental prostheses; Making same
    • A61C13/08Artificial teeth; Making same

Abstract

The embodiment of the invention discloses a kind of object painting methods, device, equipment and storage mediums.This method comprises: determining colouring parameter according to the colouring data that user inputs;If meeting preset requirement according to the coloring effect figure that the colouring parameter generates, according to the colouring parameter, the control data of colouring spray head are generated;According to the control data, control colouring spray head carries out colouring operation to object.The technical solution of the embodiment of the present invention manually carries out colouring to object by automation equipment replacement and operates, with the efficiency and accuracy for reducing object colouring cost, improving object colouring.

Description

A kind of object painting methods, device, equipment and storage medium
Technical field
The present embodiments relate to production and processing field more particularly to a kind of object painting methods, device, equipment and storages Medium.
Background technique
With the continuous development of production and processing technology, during producing and processing object, people not only pay close attention to object Performance also starts the aesthetic measure for gradually paying close attention to object, is to improve the most common method of object aesthetic measure to object colouring.Example Such as, in artificial tooth manufacturing process, the quality of color glaze directly influences the degree true to nature and aesthetic measure of artificial tooth on artificial tooth.
Currently, when color glaze, usually accurately to select various face by the actual teeth picture manually according to patient on artificial tooth Then the color glaze of color carries out colouring uranium operation on artificial tooth by hand, whole process is more demanding to artificial experience, needs precisely to grasp Make each step, spends longer time just can imitate out the effect close to actual teeth for artificial tooth, there are artificial tooth productions The excessively high problem of inefficiency, production cost, needs to improve.
Summary of the invention
The embodiment of the invention provides a kind of object painting methods, device, equipment and storage mediums, to reduce object colouring Cost, the efficiency and accuracy for improving object colouring.
In a first aspect, the embodiment of the invention provides a kind of object painting methods, this method comprises:
According to the colouring data that user inputs, colouring parameter is determined;
It is raw according to the colouring parameter if meeting preset requirement according to the coloring effect figure that the colouring parameter generates At the control data of colouring spray head;
According to the control data, control colouring spray head carries out colouring operation to object.
Second aspect, the embodiment of the invention also provides a kind of object coloring means, which includes:
Colouring parameter determination module, the colouring data for being inputted according to user determine colouring parameter;
Data generation module is controlled, if the coloring effect figure for being generated according to the colouring parameter meets preset requirement, Then according to the colouring parameter, the control data of colouring spray head are generated;
Colouring operation control module, for according to the control data, control colouring spray head to carry out colouring operation to object.
The third aspect, the embodiment of the invention also provides a kind of object colouring equipment, which includes:
Colouring operating assembly;
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the object painting methods as described in any embodiment of that present invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the object painting methods as described in any embodiment of that present invention when the program is executed by processor.
The technical solution of the embodiment of the present invention determines colouring parameter according to the colouring data that user inputs, and based on this Color parameter generates coloring effect figure, if coloring effect figure meets preset requirement, generates colouring spray head further according to colouring parameter Data are controlled, and then are based on the control data, control colouring spray head carries out colouring operation to object.The scheme of the embodiment of the present invention Without manually be object paint, but by automation equipment carry out object colouring operation, reduce colouring at This.Even furthermore experience user not abundant, the colouring ginseng of input can also be constantly adjusted by the coloring effect figure of generation Number greatly improves the efficiency and accuracy of object colouring to realize coloring effect true to nature.
Detailed description of the invention
Fig. 1 is a kind of flow chart for object painting methods that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of object painting methods provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural block diagram for object coloring means that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram for object colouring equipment that the embodiment of the present invention four provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart for object painting methods that the embodiment of the present invention one provides, and the present embodiment is applicable to root According to the colouring data that user inputs, the case where colouring operates is carried out to object automatically.This method can by object coloring means or Equipment executes, which can be realized by the way of software and/or hardware, and can be integrated in colouring operating assembly Object is painted in equipment.What the object painting methods of the embodiment of the present invention were applicable to paint to any object to be painted Situation, for example, it may be painted to artificial tooth, can also be and paint to pottery, can also be to craftwork into Row colouring etc..The following embodiment of the present invention is introduced for carrying out upper color glaze to artificial tooth.
Optionally, as shown in Figure 1, this method specifically comprises the following steps:
S101 determines colouring parameter according to the colouring data that user inputs.
Wherein, the control system that colouring data can be the indicator body colouring equipment of user's input paints to object Data based on operation, optionally, the colouring data in the embodiment of the present invention can be the various colouring options of user's input Data such as can include but is not limited to colouring face option data (selecting the data in colouring face), the Layer Option data (are arranged The data of figure layer relevant parameter), color options data and the tool option data (selecting the related data of colouring tool specification) Deng;It can also be that the referenced image data of this colouring operation of user's input, the image data can be an image Data;It is also possible to the data of the multiple images of different directions.For example, if object to be painted is artificial tooth, described image number According to the photo for all directions (such as lip side, tongue side face and occlusal surface) that can be two sides adjacent with artificial tooth in patient oral cavity.Colouring Parameter can be the supplemental characteristic carried out when colouring operates determined according to colouring data, can include but is not limited to, face of painting Profile parameters, the figure layer at least one figure layer painted for the profile paints parameter, and optionally, figure layer is painted in parameter Again may include multiple subparameters, such as can include but is not limited to, the colouring of figure layer sequence, colouring region, colouring thickness and To upper color and colouring tool.Wherein, colouring sequence can be to the sequence for the colouring operation that at least one figure layer carries out;Colouring area Domain can be the region for needing to paint in each figure layer, figure layer will entirely might not carry out for a figure layer Color may be to paint to a part of region therein.Colouring thickness can be figure where it for a color Colouring thickness on layer, difference can be the same or different to the corresponding colouring thickness of upper color.Colouring tool can be into The tool used when row colouring, the tool can include but is not limited to hairbrush type and thickness etc..The embodiment of the present invention passes through The colouring parameter of various dimensions is set, the operation precisely painted to object may be implemented, so that the effect after colouring is more forced Very.
Optionally, it in the embodiment of the present invention, when user is intended for jobbie and paints, can paint equipment in object The colouring option data of upper input various dimensions;It is also possible to simply import the figure of at least one image into object colouring equipment As data;It can also be and imported the colouring option data that image data also inputs.At this time object colouring equipment can according to The data of family input are analyzed, and the colouring parameter of each dimension can be such as determined according to colouring option data, can also be to figure As data progress color analysis, the colouring parameter of each dimension is determined.
Specifically, being can be at this time if colouring data are colouring option data according to the colouring face in colouring option data Option data determines the profile parameters in the colouring face in colouring parameter;According to colouring option data in the Layer Option data, Determine colouring sequence, the colouring region etc. of at least one figure layer in colouring parameter;According to the color in colouring option data Option data, determine colouring parameter in each figure layer to upper color and colouring thickness;According to the tool in colouring option data Option data, the tool specification used when determining for the colouring of each figure layer.If colouring data are image data, system can be Automatically the color data of image data is analyzed, to parse each colouring parameter.Optionally, in the embodiment of the present invention, Since the colouring option data of user's input is more accurate comprehensive, so determined according to the colouring option data that user inputs The dimension for parameter of painting may be more than the dimension by carrying out the colouring parameter that parsing automatically determines out to image data and smart It is quasi-.It should be noted that image data and/or colouring option data that the embodiment of the present invention is inputted with specific reference to user, determine The process for parameter of painting, will describe in detail in subsequent embodiment.
S102, if meeting preset requirement according to the coloring effect figure that colouring parameter generates, according to colouring parameter, in generation The control data of color spray head.
Wherein, coloring effect figure can be the colouring parameter determined using S101, carry out simulation colouring behaviour to target object Make, the effect picture after obtained colouring.Colouring spray head can be one on the colouring operating assembly configured in object colouring equipment A device, the colouring spray head for it is subsequent paint to object when, substitution by hand, can automatically move and spray the device of pigment Part.The control data of colouring spray head can be when subsequent object colouring equipment carries out automatic colouring operation to object, in control The data of color spray head work mainly include two aspects when due to colouring spray head work, and the position for spray head of painting is mobile and mobile Color is sprayed in the process.So the control data for spray head of painting in the embodiment of the present invention also include that both sides controls data: road Diameter controls data and color control data, specifically, path clustering data are mainly used for the movement mould of control driving colouring spray head Group movement;Color control data is mainly used for the colouring tool of control colouring spray head and the color of material-storing box injection.
It optionally, is not to directly adopt the colouring parameter after S101 has determined colouring parameter in the embodiment of the present invention Colouring operation directly is carried out to object, but whether the colouring parameter for first judging that this is determined is accurate, if after accurately carrying out again Continue the operation for object colouring, to realize coloring effect true to nature.Specific deterministic process may include following three sub-step It is rapid:
S1021, the coloring effect figure generated according to colouring parameter.
Optionally, the control system of object colouring equipment operates this to the colouring of object using the colouring parameter simulation The corresponding coloring effect figure of parameter of painting.Specifically, can be first according to the profile parameters in the colouring face in colouring parameter, in generation The profile diagram in color face, then again using colouring parameter in figure layer colouring parameter (such as figure layer colouring sequence, colouring region, on Color thickness and color to be painted and colouring tool), simulation colouring is carried out to the profile diagram, thus obtain the colouring parameter to The coloring effect figure in colouring face.For example, it may be each figure layer is successively directed to, in use according to the colouring sequence of each figure layer Color tool is the colouring area filling colouring thickness of each figure layer to upper color, obtains object in the coloring effect in face to be painted Figure.
S1022 determines the fidelity of coloring effect figure according to default judge rule.
Wherein, default judge rule can be pre-set, want for judging whether coloring effect figure meets fidelity The decision rule asked.The embodiment of the present invention is according to default judge rule, when determining the fidelity of coloring effect figure, can be for A series of judgment criteria (the whether natural judgment criteria of such as color transition, the judgment criteria of overall aesthetic degree is arranged in fidelity And color selection is accurate judgment criteria), for the coloring effect figure that S1021 is generated, marked according to this series of judge Standard carries out fidelity marking, obtains the fidelity of the coloring effect figure.If the colouring data of user's input are image data, It presets at this time and judges the regular degree of closeness that can be and calculate between the coloring effect figure and the image data of user's input, two Person is closer, then illustrates that the fidelity of coloring effect figure is higher.Optionally, the embodiment of the present invention determines the true to nature of coloring effect figure When spending, it can also be and manually judged, to this embodiment of the present invention without limiting.
S1023, if fidelity is greater than preset threshold, coloring effect figure meets preset requirement.
Optionally, the embodiment of the present invention can preset one and judge the preset threshold whether fidelity meets the requirements The fidelity is compared by (such as can be 90%) after the fidelity that S1022 determines coloring effect figure with preset threshold, If fidelity is greater than preset threshold, illustrate that coloring effect figure meets preset requirement, the colouring that can be determined at this time using this Parameter carries out subsequent colouring to object and operates;Otherwise, illustrate that coloring effect figure is unsatisfactory for preset requirement, need to remind use at this time The colouring parameter of family modification input appropriate, to be adjusted to colouring parameter, when user has modified colouring data according to prompting Afterwards, the colouring data that user inputs before the colouring data that object colouring equipment can be modified according to user combine, re-execute The operation of S101.
Optionally, if this step according to colouring parameter generate coloring effect figure meet preset requirement after, can basis The colouring parameter that S101 is determined (may include optionally, path clustering data and face to the control data of colouring spray head to generate Color control data).Specifically, can be can be when generating the path clustering data of colouring spray head according to upper according to colouring parameter The profile parameters in the colouring face in color parameter generate the first path control data that colouring spray head is moved to the colouring face;According to The figure layer colouring parameter of each figure layer in parameter of painting, generates second path clustering data of the colouring spray head in each figure layer, optional , since the colouring thickness of each figure layer is different, and the amount of pigment that spray head sprays each time is fixed, so can for each figure layer Thickness with the pigment sprayed each time according to colouring thickness and the spray head in colouring parameter, calculates and is directed to each figure layer, need weight The number of the second path clustering data is executed again.Finally, at first executing using first path control data as spray head of painting Data are controlled, then again according to the colouring sequence of each figure layer, successively number is executed according to each figure layer control data, repeats each The corresponding second path clustering data of figure layer.
Optionally, object colouring equipment can also be the fixture of control fixed object when carrying out colouring operation to object The face to be painted of object is rotated to colouring spray head side to realize by rotation, and colouring spray head only need to be on this waits for that colouring face carries out Color operation, at this point, the colouring parameter that this step is determined according to S101, when generating the path clustering data to colouring spray head, It can be the second path clustering data for only generating above-mentioned introduction.
Optionally, it is mainly used for painting to object due to above-mentioned spray head, so on the road for generating colouring spray head After diameter controls data, it is also necessary to which the color control data for generating colouring spray head can be the path control according to colouring spray head at this time Corresponding color control data is arranged in data processed when needing to carry out color injection, specifically, can be in colouring spray head Path be the first control path when, be not provided with color control data, colouring spray head be moved to face to be painted, be moved to each figure When the colouring region of layer, using the corresponding colouring color of each figure layer and the colouring tool specification of use as corresponding color at this time Control data.
S103, according to control data, control colouring spray head carries out colouring operation to object.
It optionally, at this time can be according to the control of the colouring spray head after the control data that S102 has determined colouring spray head Data carry out colouring operation to object to control the colouring operating assembly in object colouring equipment.Optionally, the embodiment of the present invention In object colouring equipment include control system (such as single-chip microcontroller) and paint operating assembly.Control system is mainly used for generating control Data simultaneously carry out colouring operation to object according to control data control colouring operating assembly.And operating assembly of painting can wrap It includes: colouring spray head, object holding clamp, driving colouring spray head mobile movement mould group (two fortune including X-direction and Y-direction Dynamic model group), wherein colouring spray head on may be configured with different size colouring tool (such as different thicknesses and/or it is of different shapes on Color hairbrush) and the material-storing box of storing pigment etc..
The embodiment of the present invention can be root when control colouring spray head carries out colouring operation to object according to control data According to the mobile movement mould group movement of the path clustering data control driving colouring spray head in control data, colouring is sprayed to realize Head is moved to corresponding colouring position, is used according to this on the color control data control colouring spray head in control data The color to be sprayed of this in colouring tool and material-storing box precisely sprays corresponding color to realize.Specifically, treating colouring A kind of embodiment that object is painted may is that and first object is mounted on object holding clamp, then according to path First path control data in control data first control X-direction and two movement mould groups of Y-direction are mobile, and colouring spray head is moved Move the face to be painted of object, so continue according in path clustering data to the second path clustering data of each figure layer colouring and Two movement mould groups of the execution number of the second control data, Repetitive controller X-direction and Y-direction are mobile, and transport in control Simultaneously according to color control data during dynamic model group is mobile, selects in material-storing box corresponding colouring color to pass through and match on spray head The colouring tool (hairbrush of such as a certain thickness specification) set carries out colouring operation to object.
Optionally, another embodiment that control colouring spray head carries out colouring operation to object in the present embodiment can be with It is the second path clustering data that above-mentioned introduction is only included in path clustering data.The mistake that colouring object is painted is treated at this time Journey may is that and first object is mounted on object holding clamp, then control axis or Y-axis of the fixture along X-axis of fixed object Axis rotation, thus realize by the face to be painted of object rotate to colouring spray head side, then again according to path clustering data with And the execution number to the colouring of each figure layer, two movement mould groups movement of Repetitive controller X-direction and Y-direction, and moved in control Simultaneously according to color control data during mould group is mobile, selects in material-storing box corresponding colouring color to pass through and configured on spray head Colouring tool (hairbrush of such as a certain thickness specification) colouring operation is carried out to object.
The object painting methods of the embodiment of the present invention determine colouring parameter according to the colouring data that user inputs, and are based on The colouring parameter generates coloring effect figure, if coloring effect figure meets preset requirement, generates colouring spray further according to colouring parameter The control data of head, and then the control data are based on, control colouring spray head carries out colouring operation to object.The embodiment of the present invention Scheme carries out object colouring operation by the equipment of automation without manually painting for object, reduces Color cost.Even furthermore experience user not abundant, the upper of input can also constantly be adjusted by the coloring effect figure of generation Color parameter greatly improves the efficiency and accuracy of object colouring to realize coloring effect true to nature.
Embodiment two
Fig. 2 is a kind of flow chart of object painting methods provided by Embodiment 2 of the present invention, and the present embodiment is in above-mentioned implementation On the basis of example, further optimization has been carried out, has shown in particular the colouring data how to input according to user, has determined colouring ginseng Several concrete condition introductions.
When determining colouring parameter due to the embodiment of the present invention, user can be by inputting different colouring option datas to set Set corresponding colouring parameter;It can also be that user only inputs the image data of at least one image, the control of object colouring equipment System determines corresponding colouring parameter automatically according to the image data;It can also be and combine above two method, that is, paint Parameter a part is that object colouring equipment is identified according to image data, and another part is the colouring option number inputted according to user According to determining.The present embodiment will be described in detail for how to realize that object colouring operates by above-mentioned several situations.Tool Body, as shown in Fig. 2, this method specifically includes:
S201, foundation colouring face selection rule and/or colouring option data, determine target colouring face, and generate object and exist The profile diagram in target colouring face.
Wherein, target colouring face can be the plane or curved surface of the pending colouring of object, for example, if object is the vertical of rule When cube, target colouring face can be at least one plane in six faces of up, down, left, right, before and after;If object is artificial tooth When, target colouring face can be lip side, occlusal surface, at least one curved surface in tongue side face.Optionally, the embodiment of the present invention Target colouring face number can be one, be also possible to multiple.Colouring face selection rule, which can be in system, to be preset Really the selection rule in the target colouring face of earnest body.It such as can be according to certain location order, successively select each of object A face to be painted is as target colouring face.Can also be the significance level according to each face to be painted of object, selection target is painted face, For example, lip side is mostly important, followed by occlusal surface for artificial tooth, it is finally tongue side face, so colouring face option rule It can be first selection lip side, reselection occlusal surface finally selects tongue side face;It is also possible to the characteristic according to object to be painted, comes Target colouring face is determined, for example, can be using lip side and tongue side face as target colouring face for labial teeth artificial tooth;For rear It, can be using lip side, occlusal surface and tongue side face as target colouring face for tooth artificial tooth.
It optionally, in embodiments of the present invention, can be first by the three of the object when user is intended for the colouring of some object In dimension module figure import system, control system can according to the object dimensional illustraton of model of importing, according to colouring face selection rule and/or Colouring option data determines target colouring face, selects rule according to preset colouring face specifically, can be control system, determines At least one face of the three-dimensional model diagram is target colouring face;It can also be in the colouring option data of user's input comprising colouring Face option data directly determines target colouring face according to colouring face option data, for example, user rotates three-dimensional according to self-demand Illustraton of model, at least one the colouring face for selecting it to need is as target colouring face;It can also be control system first according to colouring face After selection rule determines at least one target colouring face, if the target colouring face that user automatically determines control system is not very When being satisfied with, then colouring face option data is inputted, the target colouring face determined is adjusted, final target colouring is obtained Face.For example, it is regular by lip side, occlusal surface according to the selection of colouring face to can be control system for being painted for artificial tooth It is set as target colouring face with tongue side face, after can also be that user clicks colouring face option in object colouring equipment, by turning Dynamic artificial tooth threedimensional model image, clicks the lip side and tongue side face of the artificial tooth threedimensional model image, control system is detecting at this time To after the clicking operation of user, using lip side and tongue side face as target colouring face;It can also be that control system determines lip side Behind face, occlusal surface and three, tongue side face target colouring face, due to user, this artificial tooth to be painted is labial teeth, and labial teeth can not be right Occlusal surface is painted, so user can input deletion occlusal surface, so that target colouring face is adjusted to lip side and tongue side Face.
Optionally, it since the embodiment of the present invention is after determining colouring parameter, also to be generated and be painted according to the colouring parameter Effect picture, so this step is after determining target colouring face, it is also necessary to determine the profile in object target colouring to be painted face Figure obtains coloring effect figure and is made whether that satisfaction is default to be painted after determining each colouring parameter to the profile diagram It is required that judgement.Specifically, control system is generating object in the profile diagram in target colouring face, it can be and painted according to target The threedimensional model image of object is turned to target colouring face, then identifies object in mesh by edge detection algorithm by face Put on the profile in color face, and by the outline projection a to plane (such as can be project to it is vertical with target colouring face and away from From in the plane of certain altitude) obtain the profile diagram in target colouring face.Illustratively, it if object to be painted is artificial tooth, determines Target colouring face be lip side (the lip side is curved surface), can be at this time control system by artificial tooth threedimensional model image rotation To lip side, and identify the profile of lip side, then by the plane of the outline projection to certain altitude vertical with lip side, Obtain the face profile figure of lip side.
Optionally, when the number in target colouring face is multiple, the multiple processes of starting is can be while being directed to each mesh It puts on color face and executes generation object in the operation of the profile diagram and subsequent S202 and S203 in target colouring face, can also be serial It is successively executed for each target colouring face and generates object in the profile diagram and subsequent S202 and S203 in target colouring face Operation.For example, then can be two processes of starting at this time when the target colouring face that this step determines is lip side and tongue side face, The operation for generating profile diagram and subsequent S202 and S203 is performed simultaneously to lip side and tongue side face simultaneously;It can also be first to lip After side generates the operation of the profile diagram and subsequent S202 and S203 of lip side, then executes for tongue side face and similarly operate.
S202 determines the figure layer colouring of at least one figure layer of profile diagram according to image data and/or colouring option data Parameter.
It should be noted that when the present embodiment paints to object, can be will colouring operation be divided into multiple figure layers into Row colouring, so the corresponding figure layer colouring parameter of the figure layer will be determined for each figure layer, specifically, each figure layer Figure layer colouring parameter may include but unlimited: colouring sequence, colouring region, colouring thickness, to upper color and colouring tool.
It optionally, in embodiments of the present invention, can be with when determining the figure layer colouring parameter of at least one figure layer of profile diagram It is to be determined according to the image data and/or colouring option data of user's input.When imported into according to user object colouring equipment in Image data when determining, can be the color data parsed in the image data, determine at least one figure layer of profile diagram Figure layer colouring parameter.Specifically, control system can analyze the RGB color value in the image data extracted and imported, pass through figure As processing technique, the color value of a series of natural transition is parsed, the corresponding figure layer of each color value, and by the color Value is as the figure layer to upper color;According to the transition sequence of each color value, the colouring sequence of each figure layer is set;By each color In the region of affiliated figure layer as colouring region.For example, user imported into object colouring equipment when object of painting is artificial tooth In image data can be the multi-faceted image datas of patient's two teeth adjacent with artificial tooth, if S201 determines target When colouring face is lip side, decomposition analysis is carried out to the lip side data in image data, extracts 3 kinds of transition color values, then Be correspondingly arranged a figure layer for each color value, using the color value as the figure layer to upper color, then according to artificial tooth from Labial teeth is used as corresponding Layer Order to the direction of backteeth, by each color transition sequence, by each color value in the position of each figure layer Region, as region to be painted.Optionally, control system of the embodiment of the present invention goes out according to the image data analyzing that user inputs Figure layer colouring parameter in colouring sequence, colouring region and to upper color can realize the colouring to object operate;In order to mention The verisimilitude of high coloring effect, the present embodiment can also advanced optimize image data recognizer, increase and determine figure layer colouring Colouring thickness and colouring tool in parameter.
When the colouring option data inputted according to user determines figure layer colouring parameter, it can be user and set in object colouring Layer count, the sequence of each figure layer and the colouring region of each figure layer that input needs to be arranged in standby upper the Layer Option function; The colouring thickness of required color, the color is inputted in the color options function in object colouring equipment;It is set in object colouring The tool specification painted is inputted in standby upper the tool option function.Object paint equipment receive user input it is each on After color sorting item data, using the sequence of the figure layer of user's input as the colouring sequence in figure layer colouring parameter;By user's input The colouring region of each figure layer is as the colouring region in the figure layer colouring parameter of the figure layer;By face needed for each figure layer of user's input Color and colouring thickness are as the colouring thickness in the figure layer colouring parameter of the figure layer and to upper color;Each figure layer that user is inputted The tool specification that colouring uses, as the colouring tool in the figure layer colouring parameter of the figure layer.
When the colouring option data of the image data and input that are imported according to user determines figure layer colouring parameter, can be After system first determines figure layer colouring parameter according to image data according to the method described above, when the figure layer that system is determined paints parameter not When comprehensive, colouring option data to be supplemented is inputted further according to user, and the figure layer colouring parameter that system automatically determines is tieed up The supplement of degree;It can also be when figure layer that system is determined paints parameter inaccuracy, inputted further according to user to be adjusted upper Color sorting item data is adjusted fixed figure layer colouring parameter.For example, the picture number that control system is first imported according to user According to determine in figure layer colouring parameter colouring sequence, colouring region and to upper color, further according to the colouring option of user's input The color thickness of each figure layer in data and colouring tool specification, further supplement colouring thickness in figure layer colouring parameter, on Color tool.It can also be when upper color inaccuracy, user is re-entered to upper in the figure layer colouring parameter that system is determined The corresponding colouring option data of color, is updated the parameter value.
S203, if meeting preset requirement according to the coloring effect figure that colouring parameter generates, according to colouring parameter, in generation The control data of color spray head.
S204, according to control data, control colouring spray head carries out colouring operation to object.
It should be noted that the scheme of the embodiment of the present invention determines colouring parameter in the colouring data inputted according to user When, it can be according to user's input image data and/or colouring option data and determine colouring parameter, which kind of specific choice uses Mode determines colouring parameter, depending on can be according to the actual situation.Specifically, can be and adopt when user does not paint experience With input image data, control system, which can automatically parse, determines colouring parameter, the advantages of this arrangement are as follows, for not appointing The user of what colouring experience can also rapidly and efficiently realize the colouring operation to object.When user have certain colouring experience, And when wanting to carry out personalized colouring according to oneself demand, the method that colouring parameter can be determined using input options data, The advantages of this arrangement are as follows can be set according to self-demand is personalized for the user with certain colouring operation basis The colouring parameter of profession is set, and then realizes coloring effect more true to nature.The embodiment of the present invention can also be first using the figure of input As data determine preliminary colouring parameter, preliminary colouring parameter is adjusted further according to a small amount of colouring option data of user's input It is whole, to fast and accurately determine final colouring parameter.The advantages of this arrangement are as follows meeting user individual pair The demand of object colouring, and improve colour efficiency.
The object painting methods of the embodiment of the present invention determine mesh according to colouring face selection rule and/or colouring selection data Color face is put on, and generates the corresponding profile diagram in target colouring face, according to image data and/or colouring option data, determining should The figure layer colouring parameter of at least one figure layer of profile diagram, paints to profile diagram using figure layer colouring parameter, if colouring Effect picture meets preset requirement, then generates the control data of colouring spray head according to determining figure layer colouring ginseng parameter, and then be based on Control data control colouring spray head carries out colouring operation to object.The scheme of the embodiment of the present invention, can be according to the need of user The colouring experience level of summation user selects different methods to determine colouring parameter, and makes user intuitive by coloring effect figure Understand coloring effect, under the premise of guaranteeing coloring effect, the accurate colouring completed to object is operated.
Embodiment three
Fig. 3 is a kind of structural block diagram for object coloring means that the embodiment of the present invention three provides, which can be configured at In object colouring equipment comprising operating assembly of painting.Object provided by the executable above-mentioned any embodiment of the present invention of the device Painting methods, it is specific to execute the corresponding functional module of method and beneficial effect.As shown in figure 3, the device includes:
Colouring parameter determination module 301, the colouring data for being inputted according to user determine colouring parameter;
Data generation module 302 is controlled, if the coloring effect figure for generating according to the colouring parameter meets default want It asks, then according to the colouring parameter, generates the control data of colouring spray head;
Colouring operation control module 303, for according to the control data, control colouring spray head to carry out colouring behaviour to object Make.
The object coloring means of the embodiment of the present invention determine colouring parameter according to the colouring data that user inputs, and are based on The colouring parameter generates coloring effect figure, if coloring effect figure meets preset requirement, generates colouring spray further according to colouring parameter The control data of head, and then the control data are based on, control colouring spray head carries out colouring operation to object.The embodiment of the present invention Scheme carries out object colouring operation by the equipment of automation without manually painting for object, reduces Color cost.Even furthermore experience user not abundant, the upper of input can also constantly be adjusted by the coloring effect figure of generation Color parameter greatly improves the efficiency and accuracy of object colouring to realize coloring effect true to nature.
Further, the colouring data include image data and/or colouring option data;
Correspondingly, the colouring parameter determination module 301 specifically includes:
Colouring face determination unit, for determining that target is painted according to colouring face selection rule and/or colouring option data Face, and object is generated in the profile diagram in target colouring face;
Figure layer parameter determination unit, for determining the profile diagram extremely according to image data and/or colouring option data The figure layer colouring parameter of a few figure layer.
Further, the figure layer colouring parameter includes: colouring sequence, colouring region, the colouring thickness of at least one figure layer It spends, to upper color and colouring tool.
Further, the colouring option data includes: colouring face option data, the Layer Option data, color options number According to the tool option data.
Further, the figure layer parameter determination unit determines at least one figure of the profile diagram according to image data When the figure layer colouring parameter of layer, it is specifically used for:
The color data in described image data is parsed, determines the figure layer colouring ginseng of at least one figure layer of the profile diagram Number.
Further, described device further include: effect judgment module, the module are specifically used for:
The coloring effect figure generated according to the colouring parameter;
According to default judge rule, the fidelity of the coloring effect figure is determined;
If the fidelity is greater than preset threshold, the coloring effect figure meets preset requirement.
Further, the control data generation module 302 is specifically used for:
According to colouring parameter, the path clustering data and color control data of colouring spray head are generated.
Example IV
Fig. 4 is a kind of structural schematic diagram for object colouring equipment that the embodiment of the present invention four provides, and Fig. 4, which is shown, to be suitable for using Come realize embodiment of the embodiment of the present invention example devices block diagram.The object colouring equipment that Fig. 4 is shown is only one Example, should not function to the embodiment of the present invention and use scope bring any restrictions.Object colouring equipment typical case can be packet The equipment that the operating assembly containing colouring can carry out colouring operation to object.
As shown in figure 4, object colouring equipment 400 is showed in the form of universal computing device.The group of object colouring equipment 400 Part can include but is not limited to: one or more processor or processing unit 416, memory 428, connect not homologous ray group The bus 418 of part (including memory 428 and processing unit 416).
Bus 418 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Object colouring equipment 400 typically comprises a variety of computer system readable media.These media can be any energy Enough usable mediums accessed by object colouring equipment 400, including volatile and non-volatile media, it is moveable and irremovable Medium.
Memory 428 may include the computer system readable media of form of volatile memory, such as arbitrary access is deposited Reservoir (RAM) 430 and/or cache memory 432.Object colouring equipment 400 may further include it is other it is removable/no Movably, volatile/non-volatile computer system storage medium.Only as an example, storage system 434 can be used for reading and writing Immovable, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").Although not shown in fig 4, may be used To provide the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk "), and it is non-volatile to moving Property CD (such as CD-ROM, DVD-ROM or other optical mediums) read and write CD drive.In these cases, each drive Dynamic device can be connected by one or more data media interfaces with bus 418.Memory 428 may include at least one journey Sequence product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform this hair The function of bright each embodiment of embodiment.
Program/utility 440 with one group of (at least one) program module 442, can store in such as memory In 428, such program module 442 includes but is not limited to operating system, one or more application program, other program modules And program data, it may include the realization of network environment in each of these examples or certain combination.Program module 442 Usually execute the function and/or method in described embodiment of the embodiment of the present invention.
Object paints equipment 400 can also be with one or more colouring (such as the fortune of X-direction and Y-direction of operating assemblies 414 Dynamic model group, colouring spray head, material-storing box etc.) communication, equipment 400 of painting with the object can be also enabled a user to one or more Interactive equipment communication, and/or with object colouring equipment 400 is communicated with one or more of the other calculating equipment Any equipment (such as network interface card, modem etc.) communication.This communication can pass through input/output (I/O) interface 422 It carries out.Also, object paints equipment 400 can also be by network adapter 420 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown in figure 4, network adapter 420 passes through always Line 418 is communicated with other modules of object colouring equipment 400.It should be understood that although not shown in fig 4, it can be on binding object Color equipment 400 uses other hardware and/or software module, including but not limited to: microcode, device driver, redundancy processing are single Member, external disk drive array, RAID system, tape drive and data backup storage system etc..
The program that processing unit 416 is stored in memory 428 by operation, thereby executing various function application and number According to processing, such as realize object painting methods provided by any embodiment of the present invention.
Embodiment five
The embodiment of the present invention five also provides a kind of computer readable storage medium, be stored thereon with computer program (or For computer executable instructions), which can be used for executing a kind of object painting methods, this method packet when being executed by processor It includes:
According to the colouring data that user inputs, colouring parameter is determined;
It is raw according to the colouring parameter if meeting preset requirement according to the coloring effect figure that the colouring parameter generates At the control data of colouring spray head;
According to the control data, control colouring spray head carries out colouring operation to object.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the embodiment of the present invention operation Computer program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, further include conventional procedural programming language-such as " such as " language or similar program design language Speech.Program code can be executed fully on the user computer, partly be executed on the user computer, as an independence Software package execute, part on the user computer part execute on the remote computer or completely in remote computer or It is executed on server.In situations involving remote computers, remote computer can pass through the network of any kind --- packet It includes local area network (LAN) or the domain wide area network (WAN) is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being implemented by above embodiments to the present invention Example is described in further detail, but the embodiment of the present invention is not limited only to above embodiments, is not departing from structure of the present invention It can also include more other equivalent embodiments in the case where think of, and the scope of the present invention is determined by scope of the appended claims It is fixed.

Claims (10)

1. a kind of object painting methods, which is characterized in that the described method includes:
According to the colouring data that user inputs, colouring parameter is determined;
If meeting preset requirement according to the coloring effect figure that the colouring parameter generates, according to the colouring parameter, in generation The control data of color spray head;
According to the control data, control colouring spray head carries out colouring operation to object.
2. the method according to claim 1, wherein the colouring data include image data and/or upper color sorting Item data;
Correspondingly, determining colouring parameter according to the colouring data that user inputs, comprising:
Foundation colouring face selection rule and/or colouring option data determine target colouring face, and generate object in the target The profile diagram in color face;
According to image data and/or colouring option data, the figure layer colouring parameter of at least one figure layer of the profile diagram is determined.
3. according to the method described in claim 2, it is characterized in that, figure layer colouring parameter includes: at least one figure layer Colouring sequence, colouring region, colouring thickness, to upper color and colouring tool.
4. method according to claim 2, which is characterized in that the colouring option data includes: colouring face option data, figure Layer choosing item data, color options data and the tool option data.
5. according to the method described in claim 2, it is characterized in that, determining at least the one of the profile diagram according to image data The figure layer colouring parameter of a figure layer, comprising:
The color data in described image data is parsed, determines the figure layer colouring parameter of at least one figure layer of the profile diagram.
6. the method according to claim 1, wherein being met according to the coloring effect figure that the colouring parameter generates Preset requirement, comprising:
The coloring effect figure generated according to the colouring parameter;
According to default judge rule, the fidelity of the coloring effect figure is determined;
If the fidelity is greater than preset threshold, the coloring effect figure meets preset requirement.
7. the method according to claim 1, wherein according to colouring parameter, generate colouring spray head control data, Include:
According to colouring parameter, the path clustering data and color control data of colouring spray head are generated.
8. a kind of object coloring means, which is characterized in that described device includes:
Colouring parameter determination module, the colouring data for being inputted according to user determine colouring parameter;
Data generation module is controlled, if the coloring effect figure for generating according to the colouring parameter meets preset requirement, root According to the colouring parameter, the control data of colouring spray head are generated;
Colouring operation control module, for according to the control data, control colouring spray head to carry out colouring operation to object.
The equipment 9. a kind of object is painted, which is characterized in that the equipment includes:
Colouring operating assembly;
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now object painting methods as described in any in claim 1-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The object painting methods as described in any in claim 1-7 are realized when execution.
CN201910722282.9A 2019-08-06 2019-08-06 Object coloring method, device, equipment and storage medium Active CN110433000B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910722282.9A CN110433000B (en) 2019-08-06 2019-08-06 Object coloring method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910722282.9A CN110433000B (en) 2019-08-06 2019-08-06 Object coloring method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110433000A true CN110433000A (en) 2019-11-12
CN110433000B CN110433000B (en) 2021-05-14

Family

ID=68433583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910722282.9A Active CN110433000B (en) 2019-08-06 2019-08-06 Object coloring method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110433000B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101878006A (en) * 2007-11-28 2010-11-03 3M创新有限公司 Digitally-painted dental articles
CN105496582A (en) * 2016-01-26 2016-04-20 上海应用技术学院 Intelligently controlled zirconia dental material dyeing device
EP3178462A1 (en) * 2015-12-07 2017-06-14 WDT-Wolz-Dental-Technik GmbH Method for producing a polychromatic and/or spatially polychromatic or a monochrome colored ceramic body and device for same
US20170323460A1 (en) * 2016-05-06 2017-11-09 Ohio State Innovation Foundation Image color data normalization and color matching system for translucent material
CN108392281A (en) * 2018-02-08 2018-08-14 上海雷帕罗义齿有限公司 A kind of mouth mending material digitalization processing method and its system of processing
CN108722717A (en) * 2018-05-18 2018-11-02 张晔 A kind of intelligence color identification toning system and method
CN108960597A (en) * 2018-06-22 2018-12-07 合肥富庆福信息科技有限公司 A kind of product pattern intelligence spraying toning system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101878006A (en) * 2007-11-28 2010-11-03 3M创新有限公司 Digitally-painted dental articles
EP3178462A1 (en) * 2015-12-07 2017-06-14 WDT-Wolz-Dental-Technik GmbH Method for producing a polychromatic and/or spatially polychromatic or a monochrome colored ceramic body and device for same
CN105496582A (en) * 2016-01-26 2016-04-20 上海应用技术学院 Intelligently controlled zirconia dental material dyeing device
US20170323460A1 (en) * 2016-05-06 2017-11-09 Ohio State Innovation Foundation Image color data normalization and color matching system for translucent material
CN108392281A (en) * 2018-02-08 2018-08-14 上海雷帕罗义齿有限公司 A kind of mouth mending material digitalization processing method and its system of processing
CN108722717A (en) * 2018-05-18 2018-11-02 张晔 A kind of intelligence color identification toning system and method
CN108960597A (en) * 2018-06-22 2018-12-07 合肥富庆福信息科技有限公司 A kind of product pattern intelligence spraying toning system

Also Published As

Publication number Publication date
CN110433000B (en) 2021-05-14

Similar Documents

Publication Publication Date Title
US11748934B2 (en) Three-dimensional expression base generation method and apparatus, speech interaction method and apparatus, and medium
CN108287483B (en) Immersive virtual maintenance simulation method and system for product maintainability verification
US9053578B2 (en) Techniques for capturing and generating images and reports with image elements and live data
US20150235397A1 (en) System and method for improving video and other media playback
CN109064387A (en) Image special effect generation method, device and electronic equipment
CN111127610A (en) Point cloud data three-dimensional visualization rendering method and calculation method
US20140279744A1 (en) Continuous interaction learning and detection in real-time
CN106600521A (en) Image processing method and terminal device
CN109920422A (en) Voice interactive method and device, vehicle-mounted voice interactive device and storage medium
CN110210204B (en) Verification code generation method and device, storage medium and electronic equipment
Hamel et al. Capturing and re‐using rendition styles for non‐photorealistic rendering
CN111080746A (en) Image processing method, image processing device, electronic equipment and storage medium
CN110766786A (en) Sketch-to-bas-relief model generation method based on generation of confrontation network
CN109934895A (en) Image local feature moving method and device
CN107967304A (en) Session interaction processing method, device and electronic equipment
Wu Expression recognition method using improved VGG16 network model in robot interaction
CN116540638B (en) Method, device and storage medium for post-processing CAM numerical control machining program
CN110433000A (en) A kind of object painting methods, device, equipment and storage medium
CN109710244A (en) Customized animation configuration method and device, equipment and storage medium
CN103514596A (en) Method and device for processing image
CN106558043A (en) A kind of method and apparatus for determining fusion coefficients
CN109753974A (en) Detection method, device and the electronic equipment of object rotation angle
CN109615709A (en) The modeling of multiple person cooperational three-dimensional scenic and method for drafting based on cloud computing
CN109241624A (en) Determination method, apparatus, equipment and the storage medium in car light accessory depanning direction
CN115390663B (en) Virtual man-machine interaction method, system, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230308

Address after: 064199 No. 102, Floor 1, Block C, Innovation Building, Xichang Road, High-tech Industrial Park, Tangshan City, Hebei Province

Patentee after: Tangci (Tangshan) Biotechnology Co.,Ltd.

Address before: 003243, Liangbei village, liangjiaying Township, Gaobeidian City, Baoding City, Hebei Province, 071000

Patentee before: Yang Jie

TR01 Transfer of patent right