CN111080806A - Map processing method and device, electronic device and storage medium - Google Patents

Map processing method and device, electronic device and storage medium Download PDF

Info

Publication number
CN111080806A
CN111080806A CN201911329507.0A CN201911329507A CN111080806A CN 111080806 A CN111080806 A CN 111080806A CN 201911329507 A CN201911329507 A CN 201911329507A CN 111080806 A CN111080806 A CN 111080806A
Authority
CN
China
Prior art keywords
map
color
fashion
changing
original
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
CN201911329507.0A
Other languages
Chinese (zh)
Other versions
CN111080806B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201911329507.0A priority Critical patent/CN111080806B/en
Publication of CN111080806A publication Critical patent/CN111080806A/en
Application granted granted Critical
Publication of CN111080806B publication Critical patent/CN111080806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
    • A63F2300/538Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing for performing operations on behalf of the game client, e.g. rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/16Cloth
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a map processing method and device, electronic equipment and a storage medium, and relates to the technical field of computers. The map processing method comprises the following steps: acquiring an original fashion map, and carrying out blocking processing on the original fashion map to determine a block map corresponding to the original fashion map; obtaining a color change parameter corresponding to the block diagram; converting the color-changing parameters to determine a virtual color-changing mapping corresponding to the color-changing parameters; and generating a target fashion map according to the rendering of the original fashion map, the block map and the virtual color-changing map. According to the technical scheme of the embodiment of the invention, the color scheme of the original fashion map can be rapidly changed according to the color changing parameter, and the color changing efficiency of the fashion map is improved.

Description

Map processing method and device, electronic device and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a map processing method, a map processing apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of internet technology, electronic games are becoming an indispensable part of people's lives. The fashion game serves as a prop capable of reflecting the style or the characteristics of game characters in the game and is favored by a plurality of players.
At present, in the related art, when a color-changing fashion is made for a game fashion, a color of a map corresponding to an original fashion is generally changed, and then the color-changed fashion map is rendered on a game character model. On one hand, when the color-changing fashion map is designed, different color-changing fashion maps need to be manufactured correspondingly and rendered on the game role model, so that the map manufacturing efficiency is low, the whole color-changing fashion map is rendered on the game role model again, and the rendering efficiency is low; on the other hand, when the color-changing fashion map is directly manufactured, the usable color range of the picture format corresponding to the color-changing fashion map is small, the rendering effect is poor, and the game experience of a player is reduced.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An embodiment of the present invention provides a method, an apparatus, an electronic device and a computer-readable storage medium for processing a chartlet, so as to overcome at least to a certain extent the problems of low manufacturing efficiency and poor rendering effect when a color of a fashion chartlet is changed in the related art.
Additional features and advantages of the invention will be set forth in the detailed description which follows, or may be learned by practice of the invention.
According to a first aspect of the embodiments of the present invention, there is provided a map processing method, including: acquiring an original fashion map, and carrying out blocking processing on the original fashion map to determine a block map corresponding to the original fashion map; obtaining a color change parameter corresponding to the block diagram; converting the color-changing parameters to determine a virtual color-changing mapping corresponding to the color-changing parameters; and generating a target fashion map according to the rendering of the original fashion map, the block map and the virtual color-changing map.
In some example embodiments of the present invention, based on the foregoing solution, the blocking the original fashion map to determine a block map corresponding to the original fashion map includes: acquiring a color separation image corresponding to the original fashion map; and carrying out blocking processing on the original fashion map according to the color separation map so as to determine a block map corresponding to the original fashion map.
In some example embodiments of the present invention, based on the foregoing solution, performing a blocking process on the original time map according to the color separation map to determine a block map corresponding to the original time map includes: acquiring a color value of the color separation map; determining a block area corresponding to a pixel in the original time-based map according to the color value; and carrying out blocking processing on the original fashion map through the blocking area to determine a blocking map corresponding to the original fashion map.
In some example embodiments of the present invention, generating a target fashion map from the original fashion map, the tile map, and the virtual chameleon rendering based on the foregoing scheme comprises: determining a target block area of a target pixel corresponding to the original time-based pasting map in the block map; calling a target color-changing parameter corresponding to the target pixel in the virtual color-changing map according to the target block area; and performing color change processing on the target pixel according to the target color change parameter so as to render the original fashion map to generate a target fashion map.
In some example embodiments of the present invention, based on the foregoing solution, the performing color change processing on the target pixel according to the target color change parameter includes: determining a pixel color value corresponding to the target pixel; and acquiring color conversion data corresponding to the pixel color value from the target color change parameter so as to perform color change processing on the pixel color value according to the color conversion data.
In some example embodiments of the present invention, based on the foregoing solution, the blocking the original fashion map to determine a block map corresponding to the original fashion map further includes: determining a part map corresponding to the original fashion map; and carrying out blocking processing on the part map so as to determine a blocking map corresponding to the part map.
In some example embodiments of the present invention, based on the foregoing scheme, before obtaining the color change parameter corresponding to the block map, the method further includes: storing the input color change parameters in an array form; wherein the color change parameters include color channel mapping data, color conversion data, brightness conversion data, and contrast change data.
According to a second aspect of the embodiments of the present invention, there is provided a map processing apparatus including: the block diagram determining module is used for acquiring an original fashion map and performing block processing on the original fashion map to determine a block diagram corresponding to the original fashion map; the color-changing parameter acquisition module is used for acquiring color-changing parameters corresponding to the block images; the virtual color-changing mapping determining module is used for converting the color-changing parameters to determine a virtual color-changing mapping corresponding to the color-changing parameters; and the target fashion map rendering module is used for rendering and generating the target fashion map according to the original fashion map, the block map and the virtual color-changing map.
In an exemplary embodiment of the present invention, based on the foregoing solution, the block diagram determining module further includes: the color separation map acquisition unit is used for acquiring a color separation map corresponding to the original fashion map; and the block processing unit is used for carrying out block processing on the original fashion map according to the color separation map so as to determine a block map corresponding to the original fashion map.
In an exemplary embodiment of the present invention, based on the foregoing scheme, the block processing unit is further configured to: acquiring a color value of the color separation map; determining a block area corresponding to a pixel in the original time-based map according to the color value; and carrying out blocking processing on the original fashion map through the blocking area to determine a blocking map corresponding to the original fashion map.
In an exemplary embodiment of the present invention, based on the foregoing solution, the target time-dress map rendering module further includes a target pixel color-changing unit configured to: determining a target block area of a target pixel corresponding to the original time-based pasting map in the block map; calling a target color-changing parameter corresponding to the target pixel in the virtual color-changing map according to the target block area; and performing color change processing on the target pixel according to the target color change parameter so as to render the original fashion map to generate a target fashion map.
In an exemplary embodiment of the present invention, based on the foregoing scheme, the target pixel color changing unit is further configured to: determining a pixel color value corresponding to the target pixel; and acquiring color conversion data corresponding to the pixel color value from the target color change parameter so as to perform color change processing on the pixel color value according to the color conversion data.
In an exemplary embodiment of the present invention, based on the foregoing scheme, the block processing unit is further configured to: determining a part map corresponding to the original fashion map; and carrying out blocking processing on the part map so as to determine a blocking map corresponding to the part map.
In an exemplary embodiment of the present invention, based on the foregoing scheme, the map processing apparatus further includes a color change parameter storage unit configured to: storing the input color change parameters in an array form; wherein the color change parameters include color channel mapping data, color conversion data, brightness conversion data, and contrast change data.
According to a third aspect of embodiments of the present invention, there is provided an electronic apparatus, including: a processor; and a memory having computer readable instructions stored thereon, the computer readable instructions when executed by the processor implementing any of the above described mapping processing methods.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a map processing method according to any one of the above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
according to the method for processing the map in the embodiment of the invention, the original fashion map is subjected to blocking processing to determine a blocking map corresponding to the original fashion map, the color-changing parameter corresponding to the blocking map is subjected to conversion processing to determine a virtual color-changing map corresponding to the color-changing parameter, and the target fashion map is generated according to the original fashion map, the blocking map and the virtual color-changing map in a rendering mode. On one hand, the original fashion map is partitioned, and different colors are configured for different partitioned areas corresponding to the original fashion map, so that the color configuration of the target fashion map is more harmonious and beautiful, the direct color replacement of the fashion map is avoided, and the viewing experience of a user is improved; on the other hand, according to the virtual sticky picture that discolours of parameter generation, and according to original fashion sticker, piecemeal picture and the virtual sticky picture that discolours render and generate the target fashion sticker, do not need the fine arts personnel to design the fashion sticker that discolours that makes original fashion sticker corresponding, when increasing or revise the target fashion sticker, only need provide or revise the parameter that discolours, the generation efficiency of dress sticker when improving the target, promote the variety and the flexibility of target fashion sticker, improve work efficiency.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 schematically illustrates a flow diagram of a chartlet processing method according to some embodiments of the present invention;
FIG. 2 schematically illustrates a schematic of an original time-dress map corresponding to a color separation map, in accordance with some embodiments of the present invention;
FIG. 3 schematically illustrates a schematic view of an original time-dress map and corresponding tile map, in accordance with some embodiments of the present invention;
FIG. 4 schematically illustrates a schematic view of a virtual color change map corresponding to a color change parameter, in accordance with some embodiments of the present invention;
FIG. 5 schematically illustrates a schematic diagram of the storage of color change parameters in array form, according to some embodiments of the invention;
FIG. 6 schematically illustrates a flow diagram for rendering an original time-dress map to generate a target time-dress map, in accordance with some embodiments of the invention;
FIG. 7 schematically illustrates a schematic of different target time-stamps generated according to different color-change parameters, according to some embodiments of the invention;
FIG. 8 schematically illustrates a schematic view of a map processing apparatus according to some embodiments of the invention;
FIG. 9 schematically illustrates a structural diagram of a computer system of an electronic device, in accordance with some embodiments of the present invention;
FIG. 10 schematically illustrates a schematic diagram of a computer-readable storage medium according to some embodiments of the invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations or operations have not been shown or described in detail to avoid obscuring aspects of the invention.
Furthermore, the drawings are merely schematic illustrations and are not necessarily drawn to scale. The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
In this exemplary embodiment, first, a map processing method is provided, where the map processing method may be applied to a terminal device with a graphics processor, such as an electronic device like a mobile phone or a computer, and this is not particularly limited in this exemplary embodiment. Fig. 1 schematically illustrates a schematic diagram of a flow of a chartlet processing method according to some embodiments of the present invention, which, referring to fig. 1, may include the steps of:
step S110, obtaining an original fashion map, and performing blocking processing on the original fashion map to determine a block map corresponding to the original fashion map;
step S120, obtaining color changing parameters corresponding to the block images;
step S130, converting the color-changing parameters to determine a virtual color-changing map corresponding to the color-changing parameters;
and step S140, generating a target fashion map according to the original fashion map, the block map and the virtual color-changing map in a rendering mode.
According to the method for processing the chartlet in the embodiment of the example, on one hand, the original fashion chartlet is partitioned, and different colors are configured for different partitioned areas corresponding to the original fashion chartlet, so that the color configuration of the target fashion chartlet can be more harmonious and beautiful, the direct color replacement of the fashion chartlet is avoided, and the viewing experience of a user is improved; on the other hand, according to the virtual sticky picture that discolours of parameter generation, and according to original fashion sticker, piecemeal picture and the virtual sticky picture that discolours render and generate the target fashion sticker, do not need the fine arts personnel to design the fashion sticker that discolours that makes original fashion sticker corresponding, when increasing or revise the target fashion sticker, only need provide or revise the parameter that discolours, the generation efficiency of dress sticker when improving the target, promote the variety and the flexibility of target fashion sticker, improve work efficiency.
Next, the map processing method in the present exemplary embodiment will be further explained.
In step S110, an original fashion map is obtained, and the original fashion map is subjected to blocking processing to determine a block map corresponding to the original fashion map.
In an example embodiment of the present invention, the original fashion map may refer to a map corresponding to a skin of a character model in a game scene or a related modeling application scene, and may be specifically considered as a default skin map of the character model. The blocking process may refer to a process of performing pixel partition on the original fashion map according to different area data of the original fashion map, for example, the blocking process may be a process of performing blocking according to a body part position (for example, the body part position may be divided into a garment, a head ornament, a back ornament, hair, etc.) of the original fashion map on the character model, or may be a process of dividing the original fashion map into different color matching areas according to color matching data (that is, data for performing color blending and color matching according to harmony of colors of the map), and of course, the blocking process may also refer to a process of performing pixel partition on the original fashion map according to other data, which is not particularly limited in this example. The block map may be an image obtained by performing a block process on an original fashion map.
Specifically, a color separation image corresponding to an original fashion map is obtained; and carrying out blocking processing on the original fashion map according to the color separation map so as to determine a block map corresponding to the original fashion map. The color separation map may be a preset image including color values of different pixels, and in actual application, the block area corresponding to the pixel in the original time map may be determined according to the color value in the color separation map.
Further, obtaining color values of the color separation map; determining a block area corresponding to a pixel in the original time-based map according to the color value; and carrying out blocking processing on the original fashion map through the blocking area to determine a blocking map corresponding to the original fashion map. The color value may specifically refer to a pixel color value (i.e., an RGB value, an RGB color pattern is a color standard in the industry, and various colors are obtained by changing three color channels of red R, green G, and blue B and superimposing the three color channels on each other), for example, a color in the color separation chart may be red, a color value may be an RGB value "255, 0, 0" corresponding to red, and a color value may also be a hexadecimal value "FF 0000" corresponding to red, and of course, the color value in the color separation chart may also be a numerical value which can be recognized by the terminal device and is expressed in other forms, which is not limited in this example embodiment. The blocking area may be an area for classifying pixels in the original fashion map, and the pixels in different blocking areas apply different color change schemes, and form a blocking map corresponding to the original fashion map according to the different blocking areas.
Further, determining a part map corresponding to the original fashion map; and carrying out blocking processing on the part map so as to determine a block map corresponding to the part map. The part map may be a map obtained by splitting the original fashion map according to the body part of the character model corresponding to the original fashion map, for example, the part map may be a clothing map, a head ornament map, or a back ornament map, of course, the part map may also be a hair map, which is not particularly limited in this example.
By blocking the original fashion map, different color-changing schemes can be applied to the details of different parts of the original fashion map, so that the color change is more attractive, and the viewing experience of a player is improved.
Specifically, after splitting the original fashion map to obtain a part map, the part map is further processed by blocking (it can be considered that different areas in each part map still need different color ratios, and a ratio scheme of the same color cannot be directly applied). And according to the obtained color separation map, performing blocking processing on the part map to determine different blocking areas corresponding to each part map. For example, for an original fashion map of a character model, the original fashion map is divided into four part maps, namely a clothing map, a head decoration map, a back decoration map and a hair map, according to the difference of corresponding parts of the character model, then the four part maps are further subjected to blocking processing according to the color map, each part map is divided into four blocking areas (or color changing blocks), and each blocking area (or color changing block) can be subjected to independent color changing processing, so that 16 color changing schemes (color changing parameters) are required in total, and if color changing processing is not performed, default parameters are filled directly.
FIG. 2 schematically illustrates a schematic of an original time-dress map corresponding to a color separation map, according to some embodiments of the invention.
Referring to fig. 2, the color separation map may include a color value "00 ff 01" corresponding to the clothing map 201 corresponding to the original fashion map, a color value "00 ff 05" corresponding to the head-decoration map 202, a color value "00 ff 09" corresponding to the back-decoration map 203, and a color value "00 ff0 d" corresponding to the hair map, specifically, each part map may be further divided into a variable block 205, a variable block 206, a variable block 207, and a variable block 208, each variable block corresponds to a color value, a block region corresponding to a pixel in the original fashion map may be determined according to the color value in the color separation map, and the block region may perform block processing on the original fashion map to determine the block map corresponding to the original fashion map. Of course, the specific contents in fig. 2 are only schematic illustrations, and should not cause any particular limitation to the present exemplary embodiment.
FIG. 3 schematically illustrates a schematic view of an original time-dress map and corresponding tile map, in accordance with some embodiments of the present invention.
Referring to fig. 3, the terminal device may perform blocking processing on the original fashion map 301 according to the color separation map shown in fig. 2, and determine a block map 302 corresponding to the original fashion map 301, where the block map 302 may include two block areas, that is, the original fashion map 301 is divided into two color change areas, so as to subsequently apply different color change parameters (color change schemes) to the different color change areas. Of course, the original time-dress map 301 and the block map 302 in fig. 3 are only schematic illustrations, and should not impose any particular limitation on the present exemplary embodiment.
And step S120, obtaining the color change parameters corresponding to the block diagram.
In an example embodiment of the present invention, the color-changing parameter may refer to a color-changing scheme that is preset and used for performing color-changing processing on the original fashion map, that is, an expression form of the color-changing scheme for the original fashion map may be a form of the color-changing parameter. Because each block area in the block diagram needs to be subjected to independent color change, each block area in the block diagram corresponds to a group of color change parameters, and if color change processing is not carried out, default parameters are directly filled. In the practical application process, no matter the increase or the modification of the color change of the fashion map, only the corresponding color change parameters of the fashion map need to be adjusted, and any art resource does not need to be modified.
Specifically, the input color-changing parameters are stored in an array form, and the color-changing parameters (color-changing scheme) may include color channel mapping data, color conversion data, brightness conversion data, and contrast change data. The color channel mapping data may refer to a numerical value that maps a color value of an original pixel in an original fashion map to a color value of a target pixel in a target fashion map; the color conversion data can be HSL change data (HSL is a representation method of points in an RGB color model in a cylindrical coordinate system, namely Hue, Saturation and brightness, Hue (H) is a basic attribute of color, namely a commonly-known color name such as red, yellow and the like, Saturation (S) is color purity, and Saturation (S) is a numerical value of 0-100% when the color is higher and the color is lower and gradually becomes gray, and Lightness (V) and brightness (L) are 0-100%; the luminance conversion data may refer to data for adjusting luminance of the block area, for example, the luminance conversion data may be 50%, and this example embodiment is not limited thereto; the contrast change data may refer to data for adjusting the contrast of the block area, and of course, the color change parameter may also refer to other parameters, which is not particularly limited in this example embodiment.
FIG. 4 schematically illustrates a schematic diagram of the storage of color change parameters in array form according to some embodiments of the invention.
Referring to fig. 4, the data in the graph may refer to a color change parameter (color change scheme) corresponding to the original time stamp map, the input color change parameter may be stored in the form of an array in the graph, and respectively represent color change parameters corresponding to the block area 0, the block area 1, the block area 2, and the block area 3, where each of the block areas 0-2 has 7 different color change schemes, and the block area 3 generally does not change color (default parameter) and serves as a recognition color change parameter (reference data), and the default parameter may be represented as (128, 0, 0, 0, 128, 128, 0, 127, 127, 128, 128), and may be considered as the color of the original time stamp map when the default parameter is applied to the original time stamp map, and may not be changed. Specifically, taking default parameters as an example, the 1 st to 4 th numbers represent color R mapping "128, 0, 0, 0", the 5 th to 8 th numbers represent color G mapping "0, 128, 0, 0", the 9 th to 11 th numbers represent color B mapping "0, 0, 128", the 12 th to 14 th numbers represent HSL changes "0, 127, 127", and the 15 th to 16 th numbers represent brightness and contrast changes "128, 128".
And step S130, converting the color-changing parameters to determine a virtual color-changing map corresponding to the color-changing parameters.
In an example embodiment of the present invention, a virtual color-changing map may refer to a virtual map constructed by a color-changing parameter, where the virtual color-changing map is not a specific resource map, but is a virtual map that facilitates a terminal device to quickly confirm that a block area in a block map corresponds to the color-changing parameter (color-changing scheme). Specifically, the virtual color-changing map can be regarded as intermediate data for adjusting the original fashion map to the target fashion map, and the color-changing parameter is constructed into the virtual color-changing map, so that the efficiency of converting the original fashion map into the target fashion map by the terminal device through the color-changing parameter can be improved.
FIG. 5 schematically illustrates a schematic view of a virtual color change map corresponding to a color change parameter, according to some embodiments of the invention.
Referring to fig. 5, the terminal device may construct a virtual color-changing map 501 in the processor according to the color-changing parameters, and send the constructed virtual color-changing map 501 to a shader (fragment shader) of the graphics processor. In general, the RGB mapping can be represented by only three numbers, but when processing a map as in fig. 2, one more bit can be added to make 16 numbers per color change parameter (color change scheme), one byte per number, so each color change parameter is 16 bytes. Every four bytes are constructed into a pixel, namely RGBA, which is equivalent to that a color-changing parameter is composed of 4 pixels, and an original time-dress map has 16 block areas which are equivalent to 4 by 16 pixels. Finally, the pixels composed of the color-changing parameters are constructed into a virtual color-changing mapping 501 for the shader to use, which is equivalent to converting the data into the mapping, and improving the rendering efficiency.
And step S140, generating a target fashion map according to the original fashion map, the block map and the virtual color-changing map in a rendering mode.
In an example embodiment of the present invention, the target time-dress map may refer to a color-changing time-dress map corresponding to the original time-dress map, which is generated by changing color matching of the original time-dress map according to the tile map and the virtual color-changing map, and the original time-dress map may correspond to different target time-dress maps according to different color-changing parameters (virtual color-changing maps). The terminal device reads three maps, namely an original fashion map, a block map and a virtual color-changing map, in a fragment shader. The method comprises the steps of firstly reading a block map in a shader to obtain a target block area corresponding to a target pixel, further obtaining a target color-changing parameter corresponding to the target pixel from a virtual color-changing map, then carrying out RGB mapping and HSL change calculation on a pixel color value corresponding to the target pixel by using the target color-changing parameter to obtain a new color value, and then completing color changing of the whole original fashion map and obtaining the target fashion map.
FIG. 6 schematically illustrates a flow diagram for rendering an original time-dress map to generate a target time-dress map, according to some embodiments of the invention.
Referring to fig. 6, in step S610, a target block area of a target pixel corresponding to the original time-mount map in the block map is determined.
In an example embodiment of the present invention, the target pixel may refer to a pixel unit that needs to be discolored in the original fashion map, and the target block area may refer to a block area where the target pixel corresponds to the block map, for example, the target block area may be a variable block 1 in the fashion map, which is not limited in this example embodiment. When the original fashion map is rendered to generate the target fashion map according to the block map and the virtual color-changing map, firstly, a target block area corresponding to a target pixel in the original fashion map in the block map is determined, so that color-changing processing is carried out on the target pixel in different target block areas in the following process.
And S620, calling a target color-changing parameter corresponding to the target pixel in the virtual color-changing map according to the target block area.
In an example embodiment of the present invention, the target color-changing parameter may refer to a color-changing parameter (color-changing scheme) recorded in the virtual color-changing map and used for performing color-changing processing on pixels of the target tile area, for example, the target color-changing parameter may be a color-changing parameter corresponding to a variable tile 1 in the clothing map, and this example embodiment is not limited thereto. And determining the position (target block area) of the target pixel in the block map, acquiring a target color-changing parameter (color-changing scheme) of the target block area in the virtual color-changing map, and performing color-changing treatment on the target pixel according to the target color-changing parameter.
Step S630, color changing processing is carried out on the target pixel according to the target color changing parameter so as to render the original fashion map to generate a target fashion map.
In an example embodiment of the present invention, a target color-changing parameter in a virtual color-changing map is obtained according to a block map, and color-changing processing is performed on a target pixel through the target color-changing parameter, so as to render an original fashion map to generate a target fashion map corresponding to the color-changing parameter.
Specifically, a pixel color value corresponding to the target pixel is determined; and acquiring color conversion data corresponding to the pixel color value from the target color change parameter so as to perform color change processing on the pixel color value according to the color conversion data. The pixel color value may refer to data such as a color channel, hue, saturation, brightness, and contrast corresponding to the target pixel, and the color conversion data may refer to HSL variation data.
For example, a target block region to which a target pixel of an original time-varying map belongs is determined according to a color value in the color-varying map, and a target color-varying parameter (target color-varying scheme) is obtained from the virtual color-varying map according to the target block region, and a code corresponding to a calculation process may be as follows:
highp vec4 cs_tex=texture2D(sam_other01,v_texture0.xy),
float cs_index=cs_tex.z*16.0,
highp vec4 hsl_color0=texture2D(sam_other03,vec2(0.125,cs_index));
highp vec4 hsl_color1=texture2D(sam_other03,vec2(0.375,cs_index));
highp vec4 hsl_color2=texture2D(sam_other03,vec2(0.625,cs_index));
highp vec4 hsl_color3=texture2D(sam_other03,vec2(0.875,cs_index));
of course, the codes herein are merely illustrative and should not impose any particular limitation on the exemplary embodiments.
Specifically, according to the obtained color conversion data (HSL change data) in the target color change parameter, color change processing is performed on the pixel color value of the target pixel to render the original fashion map to generate the target fashion map. For example, assuming that the pixel color value corresponding to the original time-based map can be represented as value, the calculation can be divided into the following steps by three color channels R, G, and B respectively representing the pixel color value by value.r, value.g, and value.b:
first, mapping and color changing are performed on three color channels R, G, and B by using color conversion data hsl _ color0, hsl _ color1, and hsl _ color2, that is, values corresponding to R, G, and B are directly changed (i.e., vector dot product calculation is performed on the two), and the calculation code may be as follows:
lowp vec3 r_factor=hsl_color0*value.r;
lowp vec3 g_factor=hsl_color1*value.g;
lowp vec3 b_factor=hsl_color2*value.b;
second, the RGB color space is converted into the HSL color space by a conversion formula, specifically, the RGB color space is converted into the HSL color space by the following exemplary codes:
Figure BDA0002329216800000131
Figure BDA0002329216800000141
after converting the RGB color space into the HSL color space, mapping the converted color with color conversion data HSL _ color4, that is, performing vector dot product on the converted pixel color value and HSL _ color4, and converting the calculated result into the RGB color space in the third step, where exemplary codes corresponding to the conversion process are as follows (the entry is an HSLtoRGB function):
Figure BDA0002329216800000142
and step four, processing the contrast and brightness of the conversion result obtained in the step three, wherein an exemplary code corresponding to the processing process can be as follows:
value.rgb=(value.rgb–0.5)*contrast+0.5;
value.rgb=clamp(value.rgb,vec3(0.0),vec3(0.99));
and the value of the finally obtained result value is a numerical value corresponding to the color change processing of the pixel color value of the target pixel through the color conversion data (HSL change data) in the target color change parameter. It should be noted that the exemplary codes are only schematic illustrations, and should not cause any special limitation to the exemplary embodiments.
FIG. 7 schematically illustrates a schematic of different target time-stamps generated according to different color-change parameters, according to some embodiments of the invention.
Referring to fig. 7, the terminal device may render the original fashion map according to different color change parameters (color change schemes) to generate a target fashion map 701, a target fashion map 702, a target fashion map 703, a target fashion map 704, and a target fashion map 705.
It is noted that although the steps of the methods of the present invention are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
In addition, in the present exemplary embodiment, a map processing apparatus is also provided. Referring to fig. 8, the map processing apparatus 800 includes: a tile map determination module 810, a discoloration parameter acquisition module 820, a virtual discoloration map determination module 830, and a target time-to-wear map rendering module 840. Wherein: the block diagram determining module 810 is configured to obtain an original fashion map, and perform block processing on the original fashion map to determine a block diagram corresponding to the original fashion map; the color-changing parameter obtaining module 820 is configured to obtain a color-changing parameter corresponding to the block diagram; the virtual color-changing map determining module 830 is configured to perform conversion processing on the color-changing parameters to determine a virtual color-changing map corresponding to the color-changing parameters; the target fashion map rendering module 840 is configured to render and generate a target fashion map according to the original fashion map, the block map, and the virtual color-changing map.
In an exemplary embodiment of the present invention, based on the foregoing solution, the block diagram determining module 810 further includes: the color separation map acquisition unit is used for acquiring a color separation map corresponding to the original fashion map; and the block processing unit is used for carrying out block processing on the original fashion map according to the color separation map so as to determine a block map corresponding to the original fashion map.
In an exemplary embodiment of the present invention, based on the foregoing scheme, the block processing unit is further configured to: acquiring a color value of the color separation map; determining a block area corresponding to a pixel in the original time-based map according to the color value; and carrying out blocking processing on the original fashion map through the blocking area to determine a blocking map corresponding to the original fashion map.
In an exemplary embodiment of the present invention, based on the foregoing solution, the target time-dress map rendering module 840 further includes a target pixel color-changing unit configured to: determining a target block area of a target pixel corresponding to the original time-based pasting map in the block map; calling a target color-changing parameter corresponding to the target pixel in the virtual color-changing map according to the target block area; and performing color change processing on the target pixel according to the target color change parameter so as to render the original fashion map to generate a target fashion map.
In an exemplary embodiment of the present invention, based on the foregoing scheme, the target pixel color changing unit is further configured to: determining a pixel color value corresponding to the target pixel; and acquiring color conversion data corresponding to the pixel color value from the target color change parameter so as to perform color change processing on the pixel color value according to the color conversion data.
In an exemplary embodiment of the present invention, based on the foregoing scheme, the block processing unit is further configured to: determining a part map corresponding to the original fashion map; and carrying out blocking processing on the part map so as to determine a blocking map corresponding to the part map.
In an exemplary embodiment of the present invention, based on the foregoing scheme, the map processing apparatus 800 further includes a color change parameter storage unit configured to: storing the input color change parameters in an array form; wherein the color change parameters include color channel mapping data, color conversion data, brightness conversion data, and contrast change data.
The details of each module of the aforementioned middle map processing apparatus have been described in detail in the corresponding map processing method, and therefore are not described herein again.
It should be noted that although in the above detailed description several modules or units of the map processing apparatus are mentioned, this division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above-described map processing method is also provided.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 900 according to such an embodiment of the invention is described below with reference to fig. 9. The electronic device 900 shown in fig. 9 is only an example and should not bring any limitations to the functionality or scope of use of the embodiments of the present invention.
As shown in fig. 9, the electronic device 900 is embodied in the form of a general purpose computing device. Components of electronic device 900 may include, but are not limited to: the at least one processing unit 910, the at least one storage unit 920, a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910), and a display unit 940.
Wherein the storage unit stores program code that is executable by the processing unit 910 to cause the processing unit 910 to perform steps according to various exemplary embodiments of the present invention described in the above section "exemplary methods" of the present specification. For example, the processing unit 910 may execute step S110 shown in fig. 1, obtain an original fashion map, and perform blocking processing on the original fashion map to determine a block map corresponding to the original fashion map; step S120, obtaining color changing parameters corresponding to the block images; step S130, converting the color-changing parameters to determine a virtual color-changing map corresponding to the color-changing parameters; and step S140, generating a target fashion map according to the original fashion map, the block map and the virtual color-changing map in a rendering mode.
The storage unit 920 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)921 and/or a cache memory unit 922, and may further include a read only memory unit (ROM) 923.
Storage unit 920 may also include a program/utility 924 having a set (at least one) of program modules 925, such program modules 925 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 930 can be any of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 900 may also communicate with one or more external devices 970 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 900, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 900 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interface 950. Also, the electronic device 900 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via the network adapter 960. As shown, the network adapter 960 communicates with the other modules of the electronic device 900 via the bus 930. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above-mentioned "exemplary methods" section of the present description, when said program product is run on the terminal device.
Referring to fig. 10, a program product 1000 for implementing the above-described map processing method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program codes, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A map processing method is characterized by comprising the following steps:
acquiring an original fashion map, and carrying out blocking processing on the original fashion map to determine a block map corresponding to the original fashion map;
obtaining a color change parameter corresponding to the block diagram;
converting the color-changing parameters to determine a virtual color-changing mapping corresponding to the color-changing parameters;
and generating a target fashion map according to the rendering of the original fashion map, the block map and the virtual color-changing map.
2. The method for processing the map according to claim 1, wherein the blocking the original time dress map to determine a block map corresponding to the original time dress map comprises:
acquiring a color separation image corresponding to the original fashion map;
and carrying out blocking processing on the original fashion map according to the color separation map so as to determine a block map corresponding to the original fashion map.
3. The map processing method according to claim 2, wherein the step of performing block processing on the original fashion map according to the color separation map to determine a block map corresponding to the original fashion map comprises:
acquiring a color value of the color separation map;
determining a block area corresponding to a pixel in the original time-based map according to the color value;
and carrying out blocking processing on the original fashion map through the blocking area to determine a blocking map corresponding to the original fashion map.
4. The map processing method according to any one of claims 1 to 3, wherein generating a target fashion map from the original fashion map, the tile map, and the virtual chameleon map rendering comprises:
determining a target block area of a target pixel corresponding to the original time-based pasting map in the block map;
calling a target color-changing parameter corresponding to the target pixel in the virtual color-changing map according to the target block area;
and performing color change processing on the target pixel according to the target color change parameter so as to render the original fashion map to generate a target fashion map.
5. The method for processing the map according to claim 4, wherein the color-changing processing of the target pixel according to the target color-changing parameter comprises:
determining a pixel color value corresponding to the target pixel;
and acquiring color conversion data corresponding to the pixel color value from the target color change parameter so as to perform color change processing on the pixel color value according to the color conversion data.
6. The map processing method according to claim 2, wherein the blocking processing is performed on the original fashion map to determine a block map corresponding to the original fashion map, further comprising:
determining a part map corresponding to the original fashion map;
and carrying out blocking processing on the part map so as to determine a blocking map corresponding to the part map.
7. The mapping processing method according to claim 1, wherein before obtaining the color change parameter corresponding to the tile map, the method further comprises:
storing the input color change parameters in an array form; wherein the color change parameters include color channel mapping data, color conversion data, brightness conversion data, and contrast change data.
8. A map processing apparatus, characterized by comprising:
the block diagram determining module is used for acquiring an original fashion map and performing block processing on the original fashion map to determine a block diagram corresponding to the original fashion map;
the color-changing parameter acquisition module is used for acquiring color-changing parameters corresponding to the block images;
the virtual color-changing mapping determining module is used for converting the color-changing parameters to determine a virtual color-changing mapping corresponding to the color-changing parameters;
and the target fashion map rendering module is used for rendering and generating the target fashion map according to the original fashion map, the block map and the virtual color-changing map.
9. An electronic device, comprising:
a processor; and
a memory having stored thereon computer readable instructions which, when executed by the processor, implement the map processing method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the map processing method according to any one of claims 1 to 7.
CN201911329507.0A 2019-12-20 2019-12-20 Mapping processing method and device, electronic equipment and storage medium Active CN111080806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911329507.0A CN111080806B (en) 2019-12-20 2019-12-20 Mapping processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911329507.0A CN111080806B (en) 2019-12-20 2019-12-20 Mapping processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111080806A true CN111080806A (en) 2020-04-28
CN111080806B CN111080806B (en) 2024-02-23

Family

ID=70316482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911329507.0A Active CN111080806B (en) 2019-12-20 2019-12-20 Mapping processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111080806B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112837405A (en) * 2020-12-04 2021-05-25 佛山欧神诺云商科技有限公司 Dynamic modeling implementation method, electronic device and storage medium
CN113360063A (en) * 2021-05-31 2021-09-07 网易(杭州)网络有限公司 Image display method and device, electronic equipment and storage medium
CN113706665A (en) * 2021-10-28 2021-11-26 北京美摄网络科技有限公司 Image processing method and device
WO2022193941A1 (en) * 2021-03-19 2022-09-22 腾讯科技(深圳)有限公司 Image rendering method and apparatus, device, medium, and computer program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105233498A (en) * 2015-09-23 2016-01-13 网易(杭州)网络有限公司 Game character staining method and device, user terminal and game system
CN108198250A (en) * 2018-01-23 2018-06-22 网易(杭州)网络有限公司 Virtual objects model colouring method and device, storage medium, electronic equipment
CN108876931A (en) * 2017-05-12 2018-11-23 腾讯科技(深圳)有限公司 Three-dimension object color adjustment method, device, computer equipment and computer readable storage medium
CN110102048A (en) * 2019-03-27 2019-08-09 深圳市创梦天地科技有限公司 A kind of virtual costume rendering method and device
CN110443769A (en) * 2019-08-08 2019-11-12 Oppo广东移动通信有限公司 Image processing method, image processing apparatus and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105233498A (en) * 2015-09-23 2016-01-13 网易(杭州)网络有限公司 Game character staining method and device, user terminal and game system
CN108876931A (en) * 2017-05-12 2018-11-23 腾讯科技(深圳)有限公司 Three-dimension object color adjustment method, device, computer equipment and computer readable storage medium
CN108198250A (en) * 2018-01-23 2018-06-22 网易(杭州)网络有限公司 Virtual objects model colouring method and device, storage medium, electronic equipment
CN110102048A (en) * 2019-03-27 2019-08-09 深圳市创梦天地科技有限公司 A kind of virtual costume rendering method and device
CN110443769A (en) * 2019-08-08 2019-11-12 Oppo广东移动通信有限公司 Image processing method, image processing apparatus and terminal device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112837405A (en) * 2020-12-04 2021-05-25 佛山欧神诺云商科技有限公司 Dynamic modeling implementation method, electronic device and storage medium
WO2022193941A1 (en) * 2021-03-19 2022-09-22 腾讯科技(深圳)有限公司 Image rendering method and apparatus, device, medium, and computer program product
CN113360063A (en) * 2021-05-31 2021-09-07 网易(杭州)网络有限公司 Image display method and device, electronic equipment and storage medium
CN113360063B (en) * 2021-05-31 2023-02-03 网易(杭州)网络有限公司 Image display method and device, electronic equipment and storage medium
CN113706665A (en) * 2021-10-28 2021-11-26 北京美摄网络科技有限公司 Image processing method and device

Also Published As

Publication number Publication date
CN111080806B (en) 2024-02-23

Similar Documents

Publication Publication Date Title
CN111080806B (en) Mapping processing method and device, electronic equipment and storage medium
JP6483221B2 (en) 3D code generation method
US11037275B2 (en) Complex architecture for image processing
CN110648375A (en) Image colorization based on reference information
CN109166159A (en) Obtain the method, apparatus and terminal of the dominant hue of image
TW202234341A (en) Image processing method and device, electronic equipment and storage medium
CN110865856B (en) Interface element color display method and device
US20230120253A1 (en) Method and apparatus for generating virtual character, electronic device and readable storage medium
CN108198250B (en) Virtual object model dyeing method and device, storage medium and electronic equipment
TW201933046A (en) Image processing method and device based on augmented reality, and electronic equipment
CN112053417A (en) Image processing method, apparatus and system, and computer-readable storage medium
CN110211030A (en) Image generating method and device
US9854256B2 (en) Apparatus and method of processing images in an electronic device
CN113144611A (en) Scene rendering method and device, computer storage medium and electronic equipment
CN112891946A (en) Game scene generation method and device, readable storage medium and electronic equipment
JP7160495B2 (en) Image preprocessing method, device, electronic device and storage medium
CN114512094B (en) Screen color adjusting method, device, terminal and computer readable storage medium
CN112367399B (en) Filter effect generation method and device, electronic device and storage medium
CN114191815A (en) Display control method and device in game
CN112162719A (en) Display content rendering method and device, computer readable medium and electronic equipment
CN117412450B (en) Atmosphere lamp equipment, lamp effect color matching method thereof, corresponding device and medium
CN117412452B (en) Atmosphere lamp equipment, color matching method thereof, corresponding device and medium
CN112513940A (en) Alpha value determination device, alpha value determination method, program, and data structure of image data
CN117412451B (en) Atmosphere lamp equipment, mapping color matching method thereof, corresponding device and medium
CN116309160B (en) Image resolution restoration method, device, 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