CN110120053A - Face's dressing processing method, device and equipment - Google Patents

Face's dressing processing method, device and equipment Download PDF

Info

Publication number
CN110120053A
CN110120053A CN201910403878.2A CN201910403878A CN110120053A CN 110120053 A CN110120053 A CN 110120053A CN 201910403878 A CN201910403878 A CN 201910403878A CN 110120053 A CN110120053 A CN 110120053A
Authority
CN
China
Prior art keywords
textures
replaceable unit
face
field
region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910403878.2A
Other languages
Chinese (zh)
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.)
Beijing Sensetime Technology Development Co Ltd
Original Assignee
Beijing Sensetime Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sensetime Technology Development Co Ltd filed Critical Beijing Sensetime Technology Development Co Ltd
Priority to CN201910403878.2A priority Critical patent/CN110120053A/en
Publication of CN110120053A publication Critical patent/CN110120053A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration using two or more images, e.g. averaging or subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • G06T2207/10012Stereo images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Processing Or Creating Images (AREA)

Abstract

This specification embodiment provides a kind of face's dressing processing method, device and equipment, wherein face's dressing processing method comprises determining that the region of pending dressing processing in the three-dimensional head model including face;Obtain the associated multiple field-replaceable unit textures in the region;Target field-replaceable unit textures are determined in the multiple field-replaceable unit textures;Target field-replaceable unit textures are merged with the region, obtain the three-dimensional head model with face's dressing.

Description

Face's dressing processing method, device and equipment
Technical field
This disclosure relates to field of virtual reality, and in particular to a kind of face's dressing processing method, device and equipment.
Background technique
Under the promotion of game industry and virtual reality, digital virtual role has obtained a large amount of application.For virtual Role develops into the role of player's autonomous Design from single virtual image, and player is by selecting different skin/wrinkles Line/eye shadow/blush/lip gloss/tatoos/and the dressings such as mole/solarization trace/nail create the dummy model image of unique individual character.
During character design, it is often necessary to convert dressing, continually to generate satisfied image.Therefore, it is necessary to right Dummy model carries out quick dressing replacement processing.
Summary of the invention
The purpose of this specification one or more embodiment provides a kind of face's dressing processing method, device and equipment.
In a first aspect, providing a kind of face's dressing processing method, which comprises
Determine the region of pending dressing processing in the three-dimensional head model including face;
Obtain the associated multiple field-replaceable unit textures in the region;
Target field-replaceable unit textures are determined in the multiple field-replaceable unit textures;
Target field-replaceable unit textures are merged with the region, obtain the three-dimensional head mould with face's dressing Type.
In conjunction with any embodiment that the disclosure provides, determine in the three-dimensional head model including face at pending dressing The region of reason, comprising:
Face's textures are generated, face's textures include at least one region corresponding with dressing;
In at least one described region corresponding with dressing, the region of pending dressing processing is determined.
In conjunction with any embodiment that the disclosure provides, the region is rectangular area, the parameter packet of the rectangular area Include width and height;
Obtain the associated multiple field-replaceable unit textures in the region, comprising:
Obtain field-replaceable unit textures identical with the width of the rectangular area and height.
In conjunction with any embodiment that the disclosure provides, the region is rectangular area, the parameter packet of the rectangular area The lateral shift value and vertical misalignment value of coordinate are included, the field-replaceable unit textures include transparence information;
Target field-replaceable unit textures are merged with the region, obtain the three-dimensional head mould with face's dressing Type, comprising:
It, will be described replaceable according to the lateral shift value and vertical misalignment value of the corresponding rectangular area of field-replaceable unit textures Component textures copy corresponding rectangular area to;
Face's textures are merged with the field-replaceable unit textures according to transparence information, the three-dimensional head is obtained Face's dressing of model.
In conjunction with any embodiment that the disclosure provides, determine that target is replaceable in the multiple field-replaceable unit textures After component textures, further includes:
Obtain the color adjustment information of the target field-replaceable unit textures;
The color that the field-replaceable unit textures are adjusted according to the color adjustment information, obtains the replaceable of color of object Component textures.
In conjunction with any embodiment that the disclosure provides, generation face textures include:
The three-dimensional head model is subjected to the expansion of UV coordinate, according to three-dimensional head model described in the UV Coordinate generation of expansion Face's textures.
In conjunction with any embodiment that the disclosure provides, target field-replaceable unit textures are merged with the region, Obtain the three-dimensional head model with face's dressing, comprising:
Target field-replaceable unit textures are merged with the region of face's textures, and by fused face's textures The face of the three-dimensional head model is mapped to according to UV coordinate.
In conjunction with any embodiment that the disclosure provides, the associated multiple field-replaceable unit textures in the region are obtained, Include:
The instruction for obtaining the selection key for each region setting, is obtained and the region pair based on described instruction The field-replaceable unit textures answered, and show the field-replaceable unit textures.
Second aspect, provides a kind of face's dressing processing unit, and described device includes:
Determination unit, for determining the region of pending dressing processing in the three-dimensional head model including face;
Acquiring unit, for obtaining the associated multiple field-replaceable unit textures in the region;
Selecting unit, for determining target field-replaceable unit textures in the multiple field-replaceable unit textures;
Integrated unit is obtained for merging target field-replaceable unit textures with the region with face's dressing Three-dimensional head model.
In conjunction with any embodiment that the disclosure provides, the determination unit is specifically used for:
Face's textures are generated, face's textures include at least one region corresponding with dressing;
In at least one described region corresponding with dressing, the region of pending dressing processing is determined.
In conjunction with any embodiment that the disclosure provides, the region is rectangular area, the parameter packet of the rectangular area Width and height are included, the acquiring unit is specifically used for:
Obtain field-replaceable unit textures identical with the width of the rectangular area and height.
In conjunction with any embodiment that the disclosure provides, the region is rectangular area, the parameter packet of the rectangular area The lateral shift value and vertical misalignment value of coordinate are included, the field-replaceable unit textures include transparence information;
The integrated unit is specifically used for:
It, will be described replaceable according to the lateral shift value and vertical misalignment value of the corresponding rectangular area of field-replaceable unit textures Component textures copy corresponding rectangular area to;
Face's textures are merged with the field-replaceable unit textures according to transparence information, the three-dimensional head is obtained Face's dressing of model.
In conjunction with any embodiment that the disclosure provides, described device further includes color adjusting unit, is used for:
Obtain the color adjustment information of the target field-replaceable unit textures;
The color that the field-replaceable unit textures are adjusted according to the color adjustment information, obtains the replaceable of color of object Component textures.
In conjunction with any embodiment that the disclosure provides, the determination unit is for specifically using when generating face's textures In:
The three-dimensional head model is subjected to the expansion of UV coordinate, according to three-dimensional head model described in the UV Coordinate generation of expansion Face's textures.
In conjunction with any embodiment that the disclosure provides, the integrated unit is specifically used for:
Target field-replaceable unit textures are merged with the region of face's textures, and by fused face's textures The face of the three-dimensional head model is mapped to according to UV coordinate.
In conjunction with any embodiment that the disclosure provides, the acquiring unit is specifically used for:
The instruction for obtaining the selection key for each region setting, is obtained and the region pair based on described instruction The field-replaceable unit textures answered, and show the field-replaceable unit textures.
The third aspect, provides a kind of face's dressing processing equipment, and the equipment includes memory, processor, the storage Device is used for real when executing the computer instruction for storing the computer instruction that can be run on a processor, the processor The existing any face's dressing processing method of this specification.
Fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer program, and described program is located Reason device realizes this specification any face's dressing processing method when executing.
Generation method, device and the equipment of the virtual role model of this specification one or more embodiment, by being based on Rectangular area in face's textures, obtains associated field-replaceable unit textures, and by by field-replaceable unit textures and institute It states face's textures to be merged, carries out the generation or replacement of dressing, improve rendering efficiency.
Detailed description of the invention
In order to illustrate more clearly of this specification one or more embodiment or technical solution in the prior art, below will A brief introduction will be made to the drawings that need to be used in the embodiment or the description of the prior art, it should be apparent that, it is described below Attached drawing is only some embodiments recorded in this specification one or more embodiment, and those of ordinary skill in the art are come It says, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is face's dressing processing method example that at least one embodiment of this specification provides;
Fig. 2A is face's textures example that at least one embodiment of this specification provides;
Fig. 2 B is the textures example for the field-replaceable unit that at least one embodiment of this specification provides;
Fig. 3 is the grid example for the three-dimensional head model that at least one embodiment of this specification provides;
Fig. 4 is the example that the field-replaceable unit textures that at least one embodiment of this specification provides are copied to face's textures;
Fig. 5 A and Fig. 5 B are the three-dimensional head model and life before the generation dressing that at least one embodiment of this specification provides At the three-dimensional head model after dressing;
Fig. 6 A and Fig. 6 B are that face's dressing that at least one embodiment of this specification provides handles examples of interfaces;
Fig. 7 A is a kind of face's dressing processing unit example that at least one embodiment of this specification provides;
Fig. 7 B is another face's dressing processing unit example that at least one embodiment of this specification provides;
Fig. 8 is a kind of face's dressing processing equipment example that at least one embodiment of this specification provides.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification one or more embodiment, Below in conjunction with the attached drawing in this specification one or more embodiment, to the technology in this specification one or more embodiment Scheme is clearly and completely described, it is clear that and described embodiment is only this specification a part of the embodiment, rather than Whole embodiments.Based on this specification one or more embodiment, those of ordinary skill in the art are not making creativeness The range of disclosure protection all should belong in every other embodiment obtained under the premise of labour.
Fig. 1 is the flow chart of disclosure face dressing processing method one embodiment.As shown in Figure 1, this method can wrap It includes:
In a step 101, the region of pending dressing processing in the three-dimensional head model including face is determined.
To the three-dimensional head model carry out dressing processing, including for a certain face position carry out dressing generation or The replacement of person's dressing.Dressing herein refers to replaceable face's component for faceform, for example, eyebrow, blush, mouth Lip, beard, hair, glasses etc..Correspondingly, in the three-dimensional head model including face, including at least one and dressing Corresponding region.In the corresponding region of at least one described dressing, the region of pending dressing processing is determined.
In a step 102, the associated multiple field-replaceable unit textures in the region are obtained.
Multiple field-replaceable unit textures associated with the region are obtained, namely obtaining can for a kind of the multiple of dressing Replace component textures.For example, by obtaining multiple field-replaceable unit textures associated with the region that pending blush is handled, The field-replaceable unit textures of selection can be carried out by obtaining dressing this for blush.
In step 103, target field-replaceable unit textures are determined in the multiple field-replaceable unit textures.
In multiple field-replaceable unit textures obtained, a field-replaceable unit textures can be determined, it can as target Component textures are replaced, to realize the dressing wanted.
At step 104, target field-replaceable unit textures are merged with the region, is obtained with face's dressing Three-dimensional head model.
Identified target field-replaceable unit textures are corresponding with the region that dressing pending in three-dimensional head model is handled, It, can be corresponding in the three-dimensional head model face by merging the target field-replaceable unit with the region Region shows corresponding dressing.
In the present embodiment, by the way that in three-dimensional head model, the region of pending dressing processing obtains associated Field-replaceable unit textures, and by merging field-replaceable unit textures with the region, it is able to carry out the generation of dressing And replacement, improve rendering efficiency.
In some embodiments of the disclosure, determine to include pending dressing processing in the three-dimensional head model of face Region may include:
Face's textures are generated, face's textures include the region of at least one pending dressing processing.
Fig. 2A be face's textures example, as shown in Figure 2 A, face's textures include respectively with eyebrow, blush, mouth The corresponding rectangular area of the dressings such as lip and beard.One or more can be selected as pending adornment in these rectangular areas Hold the region of processing.It will be appreciated by those skilled in the art that the region of pending dressing processing included by face's textures is unlimited It also may include the region of other shapes in rectangular area.It should also be appreciated by one skilled in the art that the dressing of pending processing It is not limited to shown in Fig. 2A, can also include other dressings.
Each rectangular area in face's textures, it is associated with multiple field-replaceable unit textures.For example, for eyebrow pair The rectangular area answered, it is associated with the field-replaceable unit textures of multiple eyebrows;For rectangular area corresponding with blush, with The field-replaceable unit textures of multiple blushes are associated.Schematically illustrated respectively in Fig. 2 B lip, blush, eyebrow, beard this One of field-replaceable unit textures corresponding to a little dressings.
For having generated the three-dimensional head model of dressing, such as there is the three-dimensional head model of blush effect, if Field-replaceable unit textures are selected again for the region of pending blush processing, and are merged with the region, then can be led to Selected field-replaceable unit textures before removing are crossed, melt the field-replaceable unit textures reselected with the region It closes, realizes the replacement of dressing.
It, can by the regional choice handled other pending dressings for the three-dimensional head model of generating portion dressing Component textures are replaced, the generation of other dressings may be implemented.
Method through this embodiment may be implemented the dressing for three-dimensional head model and generate, increases, removes, replace And other effects, it can be convenient, rapidly create desired three-dimensional head model image.
Face's textures are What the face of type was overlapped, therefore dressing effect caused by field-replaceable unit textures is merged on face's textures, it can be direct It is shown in the three-dimensional head model face.
For example, the three-dimensional head model be grid model in the case where, can generate by the following method with it is described Face's textures that the face of three-dimensional head model is overlapped, this method for example may include:
The three-dimensional head model is subjected to the expansion of UV coordinate, according to three-dimensional head model described in the UV Coordinate generation of expansion Face's textures.
Grid model for example can be with as shown in figure 3, after carrying out the expansion of UV coordinate for the grid three-dimensional head model, can be with The UV coordinate for obtaining each grid vertex can be determined according to the UV coordinate after the expansion for each of the three-dimensional head model Region corresponding to kind dressing.For example, the UV coordinate of model eye socket can determine eyebrow by after carrying out the expansion of UV coordinate The region at place can also determine the size and location in rectangular area corresponding with eyebrow.For other dressings be also as This.
Face's textures can also be established individually, after being merged with field-replaceable unit textures, reflect further according to UV coordinate It is mapped to the face of the three-dimensional head model, to show fused dressing effect.
In some embodiments of the disclosure, the rectangular area in face's textures may include in following parameter at least One: width, height, the lateral shift value of coordinate and vertical misalignment value.
In the case where the parameter of the rectangular area includes width and height, the available width with the rectangular area Spend the textures of field-replaceable unit identical with height.By taking eyebrow as an example, it is identical as the width of the rectangular area and height can be with Refer to, the overall width of a pair of of eyebrow of same size, the distance between the highest point and the lowest point of eyebrow with the rectangular area It is identical as the height of the rectangular area.It will be appreciated by those skilled in the art that also available and the rectangular area width Degree and height are slightly different but do not influence the field-replaceable unit textures of display effect.
In the case where the parameter of the rectangular area includes lateral shift, the vertical misalignment of coordinate, will be selected It, can be according to the corresponding rectangular area of field-replaceable unit textures when field-replaceable unit textures are merged with face's textures The lateral shift value of centre coordinate and the vertical misalignment value of centre coordinate copy the field-replaceable unit textures to corresponding square Shape region, and face's textures are merged with the field-replaceable unit textures according to transparency.
By taking eyebrow as an example, in the row deviant and vertical misalignment for obtaining the centre coordinate of the corresponding rectangular area of eyebrow After value, it can be overlapped with the centre coordinate of the rectangular area by making the centre coordinates of the field-replaceable unit textures of eyebrow, into The copy of row field-replaceable unit textures is aligned to realize field-replaceable unit textures with corresponding rectangular area.Fig. 4 is shown By eyebrow, blush, lip and beard, these field-replaceable unit textures are copied in face's figure patch, and with corresponding rectangular area The example of alignment.
Later, by merging face's textures according to transparence information with field-replaceable unit textures, make dressing can be with Vividly, it is shown in the face area of the three-dimensional head model naturally.The transparence information is the saturating of the field-replaceable unit Lightness information.Fig. 5 A shows three-dimensional head model that is initial, not generating dressing, and Fig. 5 B is shown face's textures and eyebrow, Hu The field-replaceable units textures such as son and lip carry out fused effect.By Fig. 5 B as it can be seen that by face's textures and field-replaceable unit After fusion, fused dressing effect can be shown in the face of three-dimensional head model.
In some embodiments of the disclosure, the finger of the selection key for each rectangular area setting is obtained It enables, field-replaceable unit textures corresponding with the rectangular area is obtained based on described instruction, and show the field-replaceable unit Textures.
For the region of each pending dressing processing, a corresponding selection key can be set, by clicking the choosing Key is selected, i.e., the capable of emitting instruction for obtaining field-replaceable unit textures associated with the region is based on the instruction, can show All or part of field-replaceable unit textures.If Fig. 6 A and Fig. 6 B show, in response to obtaining the instruction of field-replaceable unit textures, three The lower section of dimension head model display area can show associated field-replaceable unit textures.
It in one example, can be by the selection key being arranged for the region of each pending dressing processing with corresponding Dressing icon shows that, so as to intuitively show the function of the selection key, the user that is more convenient for operates.Such as Fig. 6 A With shown in Fig. 6 B, below the display area of field-replaceable unit textures, various icons are shown, receiving the finger for clicking icon After order, i.e., Replacement Part textures associated with the icon are correspondingly obtained, and shown.
In one example, the government office in feudal China that target field-replaceable unit textures are determined in the multiple field-replaceable unit textures, can To be adjusted according to the color adjustment information described replaceable by the color adjustment information for obtaining target field-replaceable unit textures The color of component textures obtains the field-replaceable unit textures of color of object.Such as color tune can be set for the color of textures Whole key adjusts key by the color, can obtain the color adjustment information of textures, correspondingly so as to adjust described replaceable The color of component textures.As shown in Figure 6 A and 6 B, it in the lower section of model display area, shows each for adjusting color Color adjusts key (being shown with gray scale corresponding with RGB color).After determining target field-replaceable unit textures, pass through The color of the color adjustment adjustable textures of key.
It in one example, can after determining target field-replaceable unit textures in the multiple field-replaceable unit textures With by the texture information for obtaining target field-replaceable unit textures, and by by the transparency of the target field-replaceable unit textures Information and the texture information are mixed, and are generated with textured field-replaceable unit textures.
Fig. 6 A and Fig. 6 B show the effect picture of dressing replacement.In fig. 6, the field-replaceable unit textures in box are institute The textures of the eyebrow of selection, the dressing effect shown on model is as shown in model display area in figure;In fig. 6b, side Field-replaceable unit textures in frame are the textures of selected eyebrow, model in the dressing effect such as figure shown on model Shown in display area.As it can be seen that by selecting different field-replaceable unit textures to be merged with face's textures, it can be three Corresponding dressing effect is shown on dimension head model, to realize the replacement of dressing.
Fig. 7 A provides a kind of face's dressing processing unit, as shown in Figure 7 A, the apparatus may include:
Determination unit 701, for determining the region of pending dressing processing in the three-dimensional head model including face;
Acquiring unit 702, for obtaining the associated multiple field-replaceable unit textures in the region;
Selecting unit 703, for for determining target field-replaceable unit textures in the multiple field-replaceable unit textures;
Integrated unit 704 is obtained for merging target field-replaceable unit textures with the region with face's adornment The three-dimensional head model of appearance.
Fig. 7 B provides another face's dressing processing unit, and as shown in Figure 7 B, which can also include:
Color adjusting unit 705, for obtaining the color adjustment information of the target field-replaceable unit textures;
The color that the field-replaceable unit textures are adjusted according to the color adjustment information, obtains the replaceable of color of object Component textures.
Fig. 8 is face's dressing processing equipment that at least one embodiment of this specification provides, as shown in figure 8, the equipment can To include memory 801, processor 802, the memory 801 for storing the computer instruction that can be run on a processor, The processor 802 when executing the computer instruction for realizing at face's dressing described in this specification any embodiment Reason method.
At least one embodiment of this specification additionally provides a kind of computer readable storage medium, is stored thereon with computer Program realizes this specification any face's dressing processing method when described program is executed by processor.
It will be understood by those skilled in the art that this specification one or more embodiment can provide as method, system or calculating Machine program product.Therefore, this specification one or more embodiment can be used complete hardware embodiment, complete software embodiment or The form of embodiment combining software and hardware aspects.Moreover, this specification one or more embodiment can be used at one or It is multiple wherein include computer usable program code computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) on the form of computer program product implemented.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.At data For managing apparatus embodiments, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to side The part of method embodiment illustrates.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the behavior recorded in detail in the claims or step can be come according to the sequence being different from embodiment It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can With or may be advantageous.
Theme described in this specification and the embodiment of feature operation can be realized in the following: Fundamental Digital Circuit, Computer software or firmware, the computer including structure disclosed in this specification and its structural equivalents of tangible embodiment are hard The combination of part or one or more of which.The embodiment of theme described in this specification can be implemented as one or Multiple computer programs, i.e. coding are executed by data processing equipment on tangible non-transitory program carrier or are controlled at data Manage one or more modules in the computer program instructions of the operation of device.Alternatively, or in addition, program instruction can be with It is coded on manually generated transmitting signal, such as electricity, light or electromagnetic signal that machine generates, the signal are generated will believe Breath encodes and is transferred to suitable receiver apparatus to be executed by data processing equipment.Computer storage medium can be machine can Read storage equipment, machine readable storage substrate, random or serial access memory equipment or one or more of which group It closes.
Processing described in this specification and logic flow can by execute one of one or more computer programs or Multiple programmable calculators execute, to execute corresponding function by the way that output is operated and generated according to input data.Institute It states processing and logic flow can also be by dedicated logic circuit-such as FPGA (field programmable gate array) or ASIC (dedicated collection At circuit) Lai Zhihang, and device also can be implemented as dedicated logic circuit.
The computer for being suitable for carrying out computer program includes, for example, general and/or special microprocessor or it is any its The central processing unit of his type.In general, central processing unit will refer to from read-only memory and/or random access memory reception Order and data.The basic module of computer includes central processing unit for being practiced or carried out instruction and for storing instruction With one or more memory devices of data.In general, computer will also be including one or more great Rong for storing data Amount storage equipment, such as disk, magneto-optic disk or CD etc. or computer will be coupled operationally with this mass-memory unit To receive from it data or have both at the same time to its transmission data or two kinds of situations.However, computer is not required to have in this way Equipment.In addition, computer can be embedded in another equipment, such as mobile phone, personal digital assistant (PDA), mobile sound Frequency or video player, game console, global positioning system (GPS) receiver or such as universal serial bus (USB) flash memory The portable memory apparatus of driver, names just a few.
It is suitable for storing computer program instructions and the computer-readable medium of data including the non-volatile of form of ownership Memory, medium and memory devices, for example including semiconductor memory devices (such as EPROM, EEPROM and flash memory device), Disk (such as internal hard drive or removable disk), magneto-optic disk and CD ROM and DVD-ROM disk.Processor and memory can be by special It is supplemented or is incorporated in dedicated logic circuit with logic circuit.
Although this specification includes many specific implementation details, these are not necessarily to be construed as the model for limiting any invention It encloses or range claimed, and is primarily used for describing the feature of the specific embodiment of specific invention.In this specification Certain features described in multiple embodiments can also be combined implementation in a single embodiment.On the other hand, individually implementing Various features described in example can also be performed separately in various embodiments or be implemented with any suitable sub-portfolio.This Outside, although feature can work in certain combinations as described above and even initially so be claimed, institute is come from One or more features in claimed combination can be removed from the combination in some cases, and claimed Combination can be directed toward the modification of sub-portfolio or sub-portfolio.
Similarly, although depicting operation in the accompanying drawings with particular order, this is understood not to require these behaviour Make the particular order shown in execute or sequentially carry out or require the operation of all illustrations to be performed, to realize desired knot Fruit.In some cases, multitask and parallel processing may be advantageous.In addition, the various system modules in above-described embodiment Separation with component is understood not to be required to such separation in all embodiments, and it is to be understood that described Program assembly and system can be usually integrated in together in single software product, or be packaged into multiple software product.
The specific embodiment of theme has been described as a result,.Other embodiments are within the scope of the appended claims.? In some cases, the movement recorded in claims can be executed in different order and still realize desired result.This Outside, the processing described in attached drawing and it is nonessential shown in particular order or sequential order, to realize desired result.In certain realities In existing, multitask and parallel processing be may be advantageous.
The foregoing is merely the preferred embodiments of this specification one or more embodiment, not to limit this theory Bright book one or more embodiment, all within the spirit and principle of this specification one or more embodiment, that is done is any Modification, equivalent replacement, improvement etc. should be included within the scope of the protection of this specification one or more embodiment.

Claims (10)

1. a kind of face's dressing processing method, which is characterized in that the described method includes:
Determine the region of pending dressing processing in the three-dimensional head model including face;
Obtain the associated multiple field-replaceable unit textures in the region;
Target field-replaceable unit textures are determined in the multiple field-replaceable unit textures;
Target field-replaceable unit textures are merged with the region, obtain the three-dimensional head model with face's dressing.
2. the method according to claim 1, wherein determining includes pending adornment in the three-dimensional head model of face Hold the region of processing, comprising:
Face's textures are generated, face's textures include at least one region corresponding with dressing;
In at least one described region corresponding with dressing, the region of pending dressing processing is determined.
3. method according to claim 1 or 2, which is characterized in that the region is rectangular area, the rectangular area Parameter includes width and height;
Obtain the associated multiple field-replaceable unit textures in the region, comprising:
Obtain field-replaceable unit textures identical with the width of the rectangular area and height.
4. method according to claim 1 or 2, which is characterized in that the region is rectangular area, the rectangular area Parameter includes the lateral shift value and vertical misalignment value of coordinate, and the field-replaceable unit textures include transparence information;
Target field-replaceable unit textures are merged with the region, obtain the three-dimensional head model with face's dressing, packet It includes:
According to the lateral shift value and vertical misalignment value of the corresponding rectangular area of field-replaceable unit textures, by the field-replaceable unit Textures copy corresponding rectangular area to;
Face's textures are merged with the field-replaceable unit textures according to transparence information, the three-dimensional head model is obtained Face's dressing.
5. method according to any of claims 1-4, which is characterized in that in the multiple field-replaceable unit textures After determining target field-replaceable unit textures, further includes:
Obtain the color adjustment information of the target field-replaceable unit textures;
The color that the field-replaceable unit textures are adjusted according to the color adjustment information, obtains the field-replaceable unit of color of object Textures.
6. the method according to any one of claim 2-5, which is characterized in that generation face textures include:
The three-dimensional head model is subjected to the expansion of UV coordinate, according to the face of three-dimensional head model described in the UV Coordinate generation of expansion Portion's textures.
7. method according to claim 1 to 6, which is characterized in that obtain the region it is associated it is multiple can Replace component textures, comprising:
The instruction for obtaining the selection key for each region setting, is obtained corresponding with the region based on described instruction Field-replaceable unit textures, and show the field-replaceable unit textures.
8. a kind of face's dressing processing unit, which is characterized in that described device includes:
Determination unit, for determining the region of pending dressing processing in the three-dimensional head model including face;
Acquiring unit, for obtaining the associated multiple field-replaceable unit textures in the region;
Selecting unit, for determining target field-replaceable unit textures in the multiple field-replaceable unit textures;
Integrated unit obtains three with face's dressing for merging target field-replaceable unit textures with the region Tie up head model.
9. a kind of face's dressing processing equipment, which is characterized in that the equipment includes memory, processor, and the memory is used In the computer instruction that storage can be run on a processor, the processor is used to realize power when executing the computer instruction Benefit require any one of 1 to 7 described in method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed Device realizes method described in any one of claims 1 to 7 when executing.
CN201910403878.2A 2019-05-15 2019-05-15 Face's dressing processing method, device and equipment Pending CN110120053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910403878.2A CN110120053A (en) 2019-05-15 2019-05-15 Face's dressing processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910403878.2A CN110120053A (en) 2019-05-15 2019-05-15 Face's dressing processing method, device and equipment

Publications (1)

Publication Number Publication Date
CN110120053A true CN110120053A (en) 2019-08-13

Family

ID=67522493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910403878.2A Pending CN110120053A (en) 2019-05-15 2019-05-15 Face's dressing processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN110120053A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111553835A (en) * 2020-04-10 2020-08-18 上海完美时空软件有限公司 Method and device for generating face pinching data of user
CN111783511A (en) * 2019-10-31 2020-10-16 北京沃东天骏信息技术有限公司 Beauty treatment method, device, terminal and storage medium
CN112370786A (en) * 2020-11-13 2021-02-19 网易(杭州)网络有限公司 Method and device for drawing makeup in game and electronic equipment
CN115239575A (en) * 2022-06-06 2022-10-25 荣耀终端有限公司 Beautifying method and device
WO2023169287A1 (en) * 2022-03-11 2023-09-14 北京字跳网络技术有限公司 Beauty makeup special effect generation method and apparatus, device, storage medium, and program product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463938A (en) * 2014-11-25 2015-03-25 福建天晴数码有限公司 Three-dimensional virtual make-up trial method and device
CN107274493A (en) * 2017-06-28 2017-10-20 河海大学常州校区 A kind of three-dimensional examination hair style facial reconstruction method based on mobile platform
CN107680167A (en) * 2017-09-08 2018-02-09 郭睿 A kind of three-dimensional (3 D) manikin creation method and system based on user image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463938A (en) * 2014-11-25 2015-03-25 福建天晴数码有限公司 Three-dimensional virtual make-up trial method and device
CN107274493A (en) * 2017-06-28 2017-10-20 河海大学常州校区 A kind of three-dimensional examination hair style facial reconstruction method based on mobile platform
CN107680167A (en) * 2017-09-08 2018-02-09 郭睿 A kind of three-dimensional (3 D) manikin creation method and system based on user image

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨坤龙: "为什么游戏zepeto突然火了", 《知乎》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111783511A (en) * 2019-10-31 2020-10-16 北京沃东天骏信息技术有限公司 Beauty treatment method, device, terminal and storage medium
CN111553835A (en) * 2020-04-10 2020-08-18 上海完美时空软件有限公司 Method and device for generating face pinching data of user
CN111553835B (en) * 2020-04-10 2024-03-26 上海完美时空软件有限公司 Method and device for generating pinching face data of user
CN112370786A (en) * 2020-11-13 2021-02-19 网易(杭州)网络有限公司 Method and device for drawing makeup in game and electronic equipment
WO2023169287A1 (en) * 2022-03-11 2023-09-14 北京字跳网络技术有限公司 Beauty makeup special effect generation method and apparatus, device, storage medium, and program product
CN115239575A (en) * 2022-06-06 2022-10-25 荣耀终端有限公司 Beautifying method and device
CN115239575B (en) * 2022-06-06 2023-10-27 荣耀终端有限公司 Beautifying method and device

Similar Documents

Publication Publication Date Title
CN110120053A (en) Face's dressing processing method, device and equipment
JP6504212B2 (en) Device, method and system
US11393154B2 (en) Hair rendering method, device, electronic apparatus, and storage medium
CN110152291A (en) Rendering method, device, terminal and the storage medium of game picture
CN103946895B (en) The method for embedding in presentation and equipment based on tiling block
CN110111417A (en) Generation method, device and the equipment of three-dimensional partial body's model
US20180276882A1 (en) Systems and methods for augmented reality art creation
TW202234341A (en) Image processing method and device, electronic equipment and storage medium
CN107392984A (en) A kind of method and computing device based on Face image synthesis animation
KR101885090B1 (en) Image processing apparatus, apparatus and method for lighting processing
CN109675315A (en) Generation method, device, processor and the terminal of avatar model
CN110196746A (en) Interactive interface rendering method and device, electronic equipment, storage medium
CN109754454A (en) Rendering method, device, storage medium and the equipment of object model
CN102201108A (en) Edge processing techniques
CN109285178A (en) Image partition method, device and storage medium
CN116091676B (en) Face rendering method of virtual object and training method of point cloud feature extraction model
CN107609946A (en) A kind of display control method and computing device
CN110136236A (en) Personalized face's display methods, device, equipment and the storage medium of three-dimensional character
CN108632540A (en) Method for processing video frequency and device
KR20160051155A (en) Apparatus and method for rendering
KR20190043925A (en) Method, system and non-transitory computer-readable recording medium for providing hair styling simulation service
CN107403461B (en) Sampling apparatus and method for generating random sampling distributions using random rasterization
CN112245926A (en) Virtual terrain rendering method, device, equipment and medium
CN108961375A (en) A kind of method and device generating 3-D image according to two dimensional image
CN102819855A (en) Method and device for generating two-dimensional images

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 1101-1117, floor 11, No. 58, Beisihuan West Road, Haidian District, Beijing 100080

Applicant after: BEIJING SENSETIME TECHNOLOGY DEVELOPMENT Co.,Ltd.

Address before: 100084, room 7, floor 3, building 1, No. 710-712, Zhongguancun East Road, Beijing, Haidian District

Applicant before: BEIJING SENSETIME TECHNOLOGY DEVELOPMENT Co.,Ltd.