CN107590719A - Generate method and device, the readable storage medium storing program for executing of virtual resource displaying image - Google Patents
Generate method and device, the readable storage medium storing program for executing of virtual resource displaying image Download PDFInfo
- Publication number
- CN107590719A CN107590719A CN201710792637.2A CN201710792637A CN107590719A CN 107590719 A CN107590719 A CN 107590719A CN 201710792637 A CN201710792637 A CN 201710792637A CN 107590719 A CN107590719 A CN 107590719A
- Authority
- CN
- China
- Prior art keywords
- virtual resource
- image
- background
- standard grade
- color
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000003860 storage Methods 0.000 title abstract description 15
- 230000004456 color vision Effects 0.000 claims abstract description 14
- 238000004590 computer program Methods 0.000 claims description 5
- 235000013399 edible fruits Nutrition 0.000 claims 2
- 238000010586 diagram Methods 0.000 description 8
- 239000003086 colorant Substances 0.000 description 7
- 238000000205 computational method Methods 0.000 description 7
- 239000000463 material Substances 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000004927 fusion Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 239000011800 void material Substances 0.000 description 2
- 230000003796 beauty Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000739 chaotic effect Effects 0.000 description 1
- 238000004040 coloring Methods 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 230000004438 eyesight Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
Abstract
Present invention is disclosed a kind of method and device for generating virtual resource displaying image, readable storage medium storing program for executing.Methods described includes:Extract automatically according to identification number to obtain virtual resource base image for virtual resource to be reached the standard grade;The choosing figure that color vision is carried out according to image pixel information calculates the applicable color information of acquisition virtual resource base image;The background image of matching is obtained according to color information;The pictorial element being consistent according to the theme of reaching the standard grade of virtual resource to be reached the standard grade with color information determination;According to default stitching position, stitching image element, virtual resource base image and background image generate virtual resource corresponding to virtual resource to be reached the standard grade and show image.From the above method, it need not obtain the virtual resource displaying image for the color information for adapting to virtual resource base image by manually splicing, it is big to overcome human resources input, operating efficiency is low, the unmatched technical problem of image color of spliced image color and virtual resource.
Description
Technical field
The present invention relates to image processing field, more particularly to a kind of method and device for generating virtual resource displaying image,
Computer-readable recording medium.
Background technology
Nowadays with the popularization of electric business, each electric business platform by by commodity in the form of virtual resource in electric business platform
Upper displaying image, so as to realize the transaction that commodity are completed on electric business platform.The side of existing generation virtual resource displaying image
Method, further according to the input of operation, obtains commodity theme background, discount information, valency by getting the commodity picture of virtual resource
The information labels such as the merchandise marks of lattice information and virtual resource, and the commodity picture of the virtual resource of acquisition and information labels are entered
Pedestrian's work is spliced, and realizes the image shows of the virtual resource comprising complete merchandise news.
The method of above-mentioned generation virtual resource displaying image needs the artificial splicing for carrying out image, can cause human resources
Input is big, ineffective technical problem.Now automatic Mosaic can be carried out to image by image algorithm, to reduce manpower money
The input in source.Existing image mosaic technology can be realized is spliced into an image by multiple images, but there is the spelling of generation
The unmatched problem of image color of image color and virtual resource after connecing.
The content of the invention
Big in order to solve present in correlation technique human resources input, operating efficiency is low, spliced image color with
The unmatched technical problem of image color of virtual resource, the invention provides a kind of method for generating virtual resource displaying image
And device, computer-readable recording medium.
A kind of method for generating virtual resource displaying image, methods described include:
Extract automatically according to identification number to obtain virtual resource base image for virtual resource to be reached the standard grade;
The choosing figure that color vision is carried out according to image pixel information calculates what the acquisition virtual resource base image was applicable
Color information;
The background image of matching is obtained according to the color information;
The pictorial element being consistent according to the theme of reaching the standard grade of the virtual resource to be reached the standard grade with color information determination;
According to default stitching position, splice described in described image element, virtual resource base image and background image generation
Virtual resource corresponding to virtual resource to be reached the standard grade shows image.
A kind of device for generating virtual resource displaying image, described device include:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Extract automatically according to identification number to obtain virtual resource base image for virtual resource to be reached the standard grade;
The choosing figure that color vision is carried out according to image pixel information calculates what the acquisition virtual resource base image was applicable
Color information;
The background image of matching is obtained according to the color information;
The pictorial element being consistent according to the theme of reaching the standard grade of the virtual resource to be reached the standard grade with color information determination;
According to default stitching position, splice described in described image element, virtual resource base image and background image generation
Virtual resource corresponding to virtual resource to be reached the standard grade shows image.
A kind of computer-readable recording medium, is stored thereon with computer program, and the computer program is held by processor
The method that described generation virtual resource displaying image is realized during row.
The technical scheme that embodiments of the invention provide can include the following benefits:
By the color information of the virtual resource base image obtained for calculating, so as to be matched according to color information from acquisition
Background image, and the pictorial element being consistent according to the theme of reaching the standard grade of virtual resource to be reached the standard grade with acquiring color information, realizing will
Virtual resource base image, background image and pictorial element are spliced, without by manually splicing, being adapted to
Image is shown in the virtual resource of the color information of virtual resource base image, overcomes human resources input greatly, operating efficiency
It is low, the unmatched technical problem of image color of spliced image color and virtual resource.
It should be appreciated that the general description and following detailed description of the above are only exemplary, this can not be limited
Invention.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention
Example, and in specification together for explaining principle of the invention.
Fig. 1 is a kind of flow chart of the method for generation virtual resource displaying image according to an exemplary embodiment;
Fig. 2 is flow chart of the step 150 in one embodiment that Fig. 1 corresponds to embodiment;
Fig. 3 is flow chart of the step 190 in one embodiment that Fig. 1 corresponds to embodiment;
Fig. 4 is that a kind of stitching image element, virtual resource base image and background image generate virtual resource pair to be reached the standard grade
The schematic diagram for the virtual resource displaying image answered;
Fig. 5 is a kind of schematic diagram of virtual resource displaying image;
Fig. 6 is a kind of server architecture schematic diagram provided in an embodiment of the present invention.
Embodiment
Here explanation will be performed to exemplary embodiment in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is a kind of flow chart of the method for generation virtual resource displaying image according to an exemplary embodiment.
As shown in figure 1, the method for generation virtual resource displaying image may comprise steps of.
In step 110, extract to obtain virtual resource base image automatically according to identification number for virtual resource to be reached the standard grade.
Wherein, identifier is that server is allocated to the unique identification number of virtual resource to be reached the standard grade, that is, ID (full name
Identification, Chinese mark) number, so as to by the corresponding virtual resource to be reached the standard grade of virtual resource base image
Identification number binding, and by virtual resource base image with binding identification number it is corresponding be stored in virtual resource material database, void
Intend material library of resources to be used to store virtual resource base image and the identification number with the binding of virtual resource base image.Wait to reach the standard grade
Virtual resource is product for sale on virtual platform.Virtual resource to be reached the standard grade can include the entity products such as electrical equipment, books,
Can including game tokens etc. virtual product.Virtual resource base image is the commodity image of virtual resource to be reached the standard grade.This is virtual
Resource base image corresponds to a unique virtual resource to be reached the standard grade.
One virtual resource to be reached the standard grade may have a variety of patterns, every kind of pattern of virtual resource to be reached the standard grade can all correspond to
One virtual resource base image, therefore a virtual resource to be reached the standard grade can include multiple virtual resource base images.For example,
Virtual resource to be reached the standard grade is a school bag, and the school bag has three kinds of patterns.Then three patterns of a virtual resource to be reached the standard grade are present
Corresponding three virtual resource base images.All patterns of virtual resource to be reached the standard grade can also be put together, form one
Virtual resource base image, for example, virtual resource to be reached the standard grade is a school bag, the school bag has three kinds of patterns, then can be by three kinds
Pattern is put together, forms a virtual resource base image.
By the identification number of the virtual resource to be reached the standard grade of acquisition, found from virtual resource material database corresponding to identification number
All virtual resource base images.When finding two or more virtual resource base images, then from two or two
A virtual resource base image is randomly selected in virtual resource base image above, is formed corresponding to virtual resource to be reached the standard grade
Virtual resource shows image.By automatically extracting virtual resource base image from virtual resource material database, human resources are reduced
Input, improve operating efficiency.
In step 130, the choosing figure for color vision being carried out according to image pixel information calculates acquisition virtual resource foundation drawing
As applicable color information.
Wherein, the Back ground Information for the image that image pixel information is made up of each pixel of image.Color information is used for
Represent the colouring information of image.It is the computational methods for obtaining color information that the choosing figure of color vision, which calculates,.Virtual resource foundation drawing
As applicable color information is used for expression and virtual resource base image color into the color of similarity relation or relativity
The value of information.
Exemplary embodiment in the specific implementation, image pixel information be image RGB (full name Red, Green,
Blue, Chinese RGB), the method for carrying out the choosing figure calculating of color vision is to be based on rgb color pattern.Rgb color mould
Formula is a kind of color standard of industrial quarters, be by red (R), green (G), blue (B) three Color Channels change and they
Mutual is superimposed to obtain miscellaneous color, and RGB is the color for representing three passages of red, green, blue, this mark
Standard almost includes all colours that human eyesight can perceive, and is at present with one of most wide color system.Virtual resource
Base image is made up of some pixels, can calculate the RGB of virtual resource base image all pixels point.So as to according to all
The RGB of pixel calculates the applicable color information of virtual resource base image.
Color vision selects figure computational methods to include three kinds:Hue difference and the computational methods formed, tone reconcile and
The computational methods of formation, and the computational methods that contrast is matched colors and formed.Each color vision is selected in figure computational methods also
Several submethods can be included, for example, hue difference and in the computational methods that are formed, include dominant colors colour matching method, dominant colors
Also include in colour matching method:The methods of homochromy owner is led, and adjacent colour is dominated, and Adjacent color is dominated, and contrastive colours are leading.Pass through difference
Method, obtained color information is also different.
In exemplary embodiment in the specific implementation, the comparative selection color leading choosing figure calculating as color vision
Method.Contrastive colours are leading by contrasting color matching, collocation of colour and area controlled, so as to according to leading colour band to page atmosphere, production
Raw fierce psychological feelingses.By the RGB for calculating the virtual resource base image all pixels point got.Rgb color pattern
In, it there are the changes in temperature color range according to as defined in rgb color pattern.Provided according to the RGB of all pixels point and rgb color pattern
Changes in temperature color range, obtain the RGB of virtual resource base image and judge that the dominant hue of virtual resource base image is cool tone
Or warm tones.If dominant hue is warm tones, the cool tone different from dominant hue is chosen in contrast color matching so that and dominant hue
It is contrasted.According to the RGB of virtual resource base image, get and contrast most strong pair with the RGB of virtual resource base image
Than the RGB of color matching, the applicable color information of the virtual resource base image now obtained is the RGB of contrast color matching.For
The present invention, the above method is only for reference, and actual implementation method is not limited thereto.
In step 150, the background image of matching is obtained according to color information.
Wherein, background image can be stored in the context vault pre-set.Context vault is to carry out storage Background in advance
The picture material storehouse of picture.Various types of background images are stored into context vault according to the design of operation, so as to utilize background
Image generation virtual resource displaying image.The design of background image follows certain dimension information, such as the length of background image,
Width, shape etc. information.The background image of storage in context vault includes the dimension information of background image.
According to color information, the background image matched with color information is obtained from context vault.In an exemplary implementation
Example in the specific implementation, color information for contrast color matching RGB, now, calculate context vault in all background images RGB, and
The RGB with the RGB, the i.e. immediate background image of color information of contrast color matching is found, the background image is obtain and color
The background image that multimedia message matches.
In step 170, the pictorial element being consistent according to the theme of reaching the standard grade of virtual resource to be reached the standard grade with color information determination.
Wherein, the theme of reaching the standard grade of virtual resource to be reached the standard grade correspond to the pricing information of virtual resource, trademark information, discount letter
Breath, if for information such as the new product information of new restocking.Pictorial element is then to reach the standard grade theme in virtual resource shows image to scheme
The result shown as form.Pictorial element shows the price of virtual resource, business with image format in virtual resource shows image
The images such as mark, discount, and the image for representing that the virtual resource is new product is shown when the new product information that virtual resource is new restocking.
There is also color matching for pictorial element.In exemplary embodiment in the specific implementation, according in color information
RGB, the RGB with the immediate pictorial elements of RGB in color information is searched, so as to choose the pictorial element as virtual resource
Show the display of image.The color vision of pictorial element selects figure calculation can be with the choosing figure of the color vision of background image
Calculation is identical, can also differ.Wherein, the ID of the trade mark of virtual resource and virtual resource is bound, with virtual resource pair
Should.Therefore the trade mark of virtual resource is uniquely fixed, it is not necessary to carries out collocation acquisition according to color information.
In step 190, according to default stitching position, stitching image element, virtual resource base image and background image
Generate virtual resource corresponding to virtual resource to be reached the standard grade and show image.
Wherein, can be according to the connecting method of design, to pictorial element, virtual resource foundation drawing according to default stitching position
Picture and background image are spliced, and are generated virtual resource corresponding to virtual resource to be reached the standard grade and are shown image.The connecting method of design
Generated according to the configuration of operation, connecting method can be changed at any time.
This embodiment guarantees to get suitable by stitching image element, virtual resource base image and background image
The virtual resource displaying image of color information assigned in virtual resource base image, takes so as to avoid spliced image color
With more chaotic, the poor technical problem of the visual sense of beauty of image.
In exemplary embodiment in the specific implementation, the method for generation virtual resource displaying image can also include
Following steps.
The background image renewal of basic color background in context vault is carried out, and/or, entered according to the theme background for runing configured
The background image renewal of theme background in row context vault.
Wherein, the background image in context vault includes two major classes, and one kind is the background image of basic color background, it is another kind of then
Correspond to the background image of a theme background.
The background image of basic color background is the background image for only including the basic color for being matched with virtual resource base image,
Such as the background image with color based on the colors such as white, blueness.The background image of basic color background can be according to the defeated of operation
Enter configuration to be updated at any time, and store into context vault, so as to choose matching virtual resource base figure from context vault
The background image of the basic color background of picture.
Theme background for set season when reaching the standard grade wait virtual resource of reaching the standard grade, red-letter day or activity background information, example
The theme background being such as the theme with seasons such as winter, summers, or be the theme with Christmas Day, the Spring Festival, double 11 grade red-letter days or activity
Theme background.Theme background can determine according to the configuration of operation, can also reaching the standard grade the date according to virtual resource to be reached the standard grade
Automatically set, such as when the date of reaching the standard grade for virtual resource of reaching the standard grade is 24-December 26 December, it is automatic that theme background is set
For Christmas Day theme background.The element of theme background can be increased on background image according to theme background, such as theme background is
During the Spring Festival, the Spring Festival element such as firecrackers or good fortune word is added on the background image of red, forms the background image of theme background, and will
The background image of theme background is added in context vault, completes the renewal of the background image of theme background.
This embodiment achieves the background image of the basic color background in context vault and the background image of main body background more
Newly.
Fig. 2 is flow chart of the step 150 in one embodiment that Fig. 1 corresponds to embodiment.As shown in Fig. 2 the step 150 can
To comprise the following steps.
In step 151, judge that context vault whether there is the theme background suitable for virtual resource to be reached the standard grade.
Wherein, suitable for wait virtual resource of reaching the standard grade theme background be with season when reaching the standard grade wait virtual resource of reaching the standard grade,
The theme background that red-letter day or activity are consistent.Judge whether to be configured with theme background to virtual resource to be reached the standard grade, when being configured with master
When inscribing background, then the theme background suitable for virtual resource to be reached the standard grade be present;Otherwise, in the absence of suitable for virtual resource to be reached the standard grade
Theme background.
In step 153, if YES, then obtain the theme background suitable for virtual resource to be reached the standard grade and be matched with color
The background image of the theme background of information.
Wherein, it is applied to if existing when the theme background for virtual resource of reaching the standard grade, according to theme background, into context vault
The background image for being matched with theme background is searched, further according to color information, obtains matching and color in the background image of theme background
The background image of multimedia message, the background image of acquisition are to be applied to the theme background of virtual resource to be reached the standard grade and be matched with color
The background image of the theme background of information.
In exemplary embodiment in the specific implementation, when the theme background suitable for virtual resource to be reached the standard grade be Christmas
During section, then all background images of Christmas Day theme background in context vault are first searched, then calculate the background of Christmas Day theme background
The RGB of image, and compared with the RGB in color information, get the RGB and color information of the background image of theme background
In the immediate background images of RGB, as suitable for Christmas Day theme background and being matched with the theme background of color information
Background image.
In step 155, if NO, then according to the background image of acquiring color information basis color background.
Wherein, if in the absence of suitable for when the theme background for virtual resource of reaching the standard grade, virtual resource to be reached the standard grade is not matched somebody with somebody
Theme background is equipped with, according to color information from the background image of basic color background, gets the basic color of matching color information
The background image of background.In exemplary embodiment in the specific implementation, RGB in color information, obtains all bases
RGB and the background image of the immediate basic color backgrounds of RGB in color information in the background image of plinth color background.
This embodiment achieves according to whether theme background be present, the background image of theme background or basic color background are obtained
Background image.
In one exemplary embodiment, before the step 170 that Fig. 1 corresponds to embodiment, generation virtual resource displaying
The method of image can also comprise the following steps.
The theme of reaching the standard grade of virtual resource to be reached the standard grade is obtained according to the configuration of operation.
Wherein, the ID number of the trademark information reached the standard grade in theme and virtual resource to be reached the standard grade is bound, not matching somebody with somebody according to operation
Put and be changed.The theme of reaching the standard grade of operation configuration includes:The pricing information of virtual resource to be reached the standard grade, discount information, if be new
The information such as the new product information of restocking.The theme of reaching the standard grade of virtual resource to be reached the standard grade is obtained according to the configuration of operation, so as to which basis is reached the standard grade
Theme, obtain the subject element of virtual resource to be reached the standard grade.
Fig. 3 is flow chart of the step 190 in one embodiment that Fig. 1 corresponds to embodiment.As shown in figure 3, the step 190 can
To comprise the following steps.
In step 191, virtual resource base image is fused to the center of background image.
Virtual resource base image is the main part of virtual resource to be reached the standard grade displaying image, therefore by virtual resource image
The center of background image is fused to, so as in displaying image saliency virtual resource base image.
In exemplary embodiment in the specific implementation, background image is first loaded into, according to the dimension information of background image
Set coordinate value, according to coordinate value by the fusion of virtual resource base image at the coordinate value center of background image.
In step 193, according to the relative position information between the footmark and background image configured in advance for footmark, by angle
Mark is fused in the background image for having merged virtual resource base image, obtains virtual resource exhibition corresponding to virtual resource to be reached the standard grade
Diagram picture.
Wherein, pictorial element is to adapt to reach the standard grade the footmark of theme.Relative position information is the footmark and the back of the body pre-set
The range information on each side of scape image, so that it is determined that position of the footmark relative to background image.For different pictorial elements, need
The relative position information different between background image is set, so that it is guaranteed that will not be overlapping between pictorial element.
According to relative position information, footmark is placed in the background image for having merged virtual resource base image, realized
Pictorial element, the fusion of virtual resource base image and background image, obtain virtual resource exhibition corresponding to virtual resource to be reached the standard grade
Diagram picture.
In exemplary embodiment in the specific implementation, Fig. 4 is a kind of stitching image element, virtual resource base image
The schematic diagram of virtual resource displaying image corresponding to virtual resource to be reached the standard grade is generated with background image.As shown in figure 4, first set
Background image, and the coordinate value of background image is set, virtual resource base image is placed on background image further according to coordinate value
Centre position.Further according to relative position information, it will represent whether virtual resource to be reached the standard grade is new product or the footmark of discount information
It is placed at the left upper apex of background image, further according to the pixel on side above background image set in relative position information
Length, trademark information and pricing information are placed, such as it is 50 length in pixels to set trademark information and the distance on top side, sets valency
Lattice information and the distance on top side are 90 length in pixels, so as to place trademark information and pricing information in background image, are obtained
Virtual resource to be reached the standard grade corresponding to virtual resource displaying image as shown in figure 5, Fig. 5 is a kind of showing for virtual resource displaying image
It is intended to.
In one exemplary embodiment, present invention additionally comprises a kind of device for generating virtual resource displaying image, the dress
The all or part of step for the method for performing any shown generation virtual resource displaying images of Fig. 1 is put, the device includes:
Processor;
For storing the memory of processor-executable instruction;
Wherein, processor is configured as:
Extract automatically according to identification number to obtain virtual resource base image for virtual resource to be reached the standard grade.
The choosing figure that color vision is carried out according to image pixel information calculates the applicable color of acquisition virtual resource base image
Information.
The background image of matching is obtained according to color information.
The pictorial element being consistent according to the theme of reaching the standard grade of virtual resource to be reached the standard grade with color information determination.
According to default stitching position, stitching image element, virtual resource base image and background image generate void to be reached the standard grade
Intend virtual resource displaying image corresponding to resource.
In one exemplary embodiment, processor is also configured to:
The background image renewal of basic color background in context vault is carried out, and/or, background is carried out according to the theme background of configuration
The background image renewal of theme background in storehouse.
In one exemplary embodiment, processor is configured to perform the back of the body for obtaining matching from context vault according to color information
In scape image step, including:
Judge that context vault whether there is the theme background suitable for virtual resource to be reached the standard grade, if YES, then obtain and be applicable
In virtual resource to be reached the standard grade theme background and be matched with the background image of the theme background of color information, if NO, then
According to the background image of acquiring color information basis color background.
In one exemplary embodiment, processor is configured to perform reach the standard grade theme and the color according to virtual resource to be reached the standard grade
Before multimedia message obtains the pictorial element step being consistent, including:
The theme of reaching the standard grade of virtual resource to be reached the standard grade is obtained according to the configuration of operation.
In one exemplary embodiment, the present invention includes a kind of computer-readable recording medium, is stored thereon with calculating
Machine program, the computer program realizes the generation virtual resource displaying image shown in Fig. 1 method when being executed by processor.
Referring to Fig. 6, Fig. 6 is a kind of server architecture schematic diagram provided in an embodiment of the present invention.The server 500 can because with
Put or performance is different and produce bigger difference, one or more central processing units (central can be included
Processing units, CPU) 522 (for example, one or more processors) and memory 532, one or more
Store the storage medium 530 (such as one or more mass memory units) of application program 542 or data 544.Wherein, deposit
Reservoir 532 and storage medium 530 can be of short duration storage or persistently storage.Being stored in the program of storage medium 530 can include
One or more modules (diagram is not shown), each module can include operating the series of instructions in server.More
Further, central processing unit 522 be could be arranged to communicate with storage medium 530, and storage medium is performed on server 500
Series of instructions operation in 530.Server 500 can also include one or more power supplys 526, one or more
Wired or wireless network interface 550, one or more input/output interfaces 558, and/or, one or more operations
System 541, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..Above-mentioned Fig. 1
Described in illustrated embodiment can be based on the server architecture shown in the Fig. 6 as the step performed by server.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The function of modules and the implementation process of effect refer to above-mentioned generation virtual resource displaying image in said apparatus
Method in correspond to the implementation process of step, will not be repeated here.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and
And various modifications and changes can be being performed without departing from the scope.The scope of the present invention is only limited by appended claim.
Claims (10)
- A kind of 1. method for generating virtual resource displaying image, it is characterised in that methods described includes:Extract automatically according to identification number to obtain virtual resource base image for virtual resource to be reached the standard grade;The choosing figure that color vision is carried out according to image pixel information calculates the applicable color of the acquisition virtual resource base image Information;The background image of matching is obtained according to the color information;The pictorial element being consistent according to the theme of reaching the standard grade of the virtual resource to be reached the standard grade with color information determination;According to default stitching position, treated described in splicing described image element, virtual resource base image and background image generation Virtual resource corresponding to line virtual resource shows image.
- 2. according to the method for claim 1, it is characterised in that methods described also includes:The background image renewal of basic color background in context vault is carried out, and/or, the background is carried out according to the theme background of configuration The background image renewal of theme background in storehouse.
- 3. according to the method described in claim 1 and 2, it is characterised in that the back of the body that matching is obtained according to the color information Scape image step includes:Judge that the context vault whether there is the theme background for being applied to the virtual resource to be reached the standard grade, if YES, then obtain Theme background suitable for the virtual resource to be reached the standard grade and the background image of the theme background of the color information is matched with, such as Fruit be it is no, thenAccording to the background image of the acquiring color information basis color background.
- 4. according to the method for claim 1, it is characterised in that the theme of reaching the standard grade of virtual resource to be reached the standard grade described in the basis Before the pictorial element step being consistent with color information determination, methods described includes:The theme of reaching the standard grade of virtual resource to be reached the standard grade according to obtaining the configuration of operation.
- 5. according to the method for claim 1, it is characterised in that described image element is the angle for adapting to the theme of reaching the standard grade Mark, it is described according to default stitching position, splice and treated described in described image element, virtual resource base image and background image generation Virtual resource displaying image step corresponding to virtual resource of reaching the standard grade includes:The virtual resource base image is fused to the center of the background image;According to the relative position information between the footmark and background image configured in advance for footmark, footmark is fused to and has merged institute In the background image for stating virtual resource base image, virtual resource corresponding to virtual resource to be reached the standard grade described in acquisition shows image.
- 6. a kind of device for generating virtual resource displaying image, it is characterised in that described device includes:Processor;For storing the memory of processor-executable instruction;Wherein, the processor is configured as:Extract automatically according to identification number to obtain virtual resource base image for virtual resource to be reached the standard grade;The choosing figure that color vision is carried out according to image pixel information calculates the applicable color of the acquisition virtual resource base image Information;The background image of matching is obtained according to the color information;The pictorial element being consistent according to the theme of reaching the standard grade of the virtual resource to be reached the standard grade with color information determination;According to default stitching position, treated described in splicing described image element, virtual resource base image and background image generation Virtual resource corresponding to line virtual resource shows image.
- 7. device according to claim 6, it is characterised in that the processor is also configured to:The background image renewal of basic color background in context vault is carried out, and/or, the background is carried out according to the theme background of configuration The background image renewal of theme background in storehouse.
- 8. according to the device described in claim 6 and 7, it is characterised in that the processor is configured to perform described in the basis Color information is obtained in the background image step of matching, including:Judge that the context vault whether there is the theme background for being applied to the virtual resource to be reached the standard grade, if YES, then obtain Theme background suitable for the virtual resource to be reached the standard grade and the background image of the theme background of the color information is matched with, such as Fruit be it is no, thenAccording to the background image of the acquiring color information basis color background.
- 9. device according to claim 6, it is characterised in that the processor is configured to perform to be treated described in the basis Before the pictorial element step that theme is consistent with color information determination of reaching the standard grade of line virtual resource, including:The theme of reaching the standard grade of virtual resource to be reached the standard grade according to obtaining the configuration of operation.
- 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The method that the generation virtual resource displaying image as described in any one of claim 1 to 5 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710792637.2A CN107590719A (en) | 2017-09-05 | 2017-09-05 | Generate method and device, the readable storage medium storing program for executing of virtual resource displaying image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710792637.2A CN107590719A (en) | 2017-09-05 | 2017-09-05 | Generate method and device, the readable storage medium storing program for executing of virtual resource displaying image |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107590719A true CN107590719A (en) | 2018-01-16 |
Family
ID=61051200
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710792637.2A Pending CN107590719A (en) | 2017-09-05 | 2017-09-05 | Generate method and device, the readable storage medium storing program for executing of virtual resource displaying image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107590719A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109345612A (en) * | 2018-09-13 | 2019-02-15 | 腾讯数码(天津)有限公司 | A kind of image generating method, device, equipment and storage medium |
CN110347456A (en) * | 2019-05-28 | 2019-10-18 | 北京奇艺世纪科技有限公司 | Image processing method, device, computer equipment and storage medium |
CN110795659A (en) * | 2019-09-25 | 2020-02-14 | 口碑(上海)信息技术有限公司 | Method and device for generating page background picture |
CN110825989A (en) * | 2018-07-23 | 2020-02-21 | 北京京东尚科信息技术有限公司 | Picture display method and device, electronic equipment and readable medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011065369A1 (en) * | 2009-11-30 | 2011-06-03 | 楽天株式会社 | Banner generation system, banner generation device, banner generation method, banner generation program, computer-readable recording medium, information provision system, information provision method, and information provision program |
US8374935B1 (en) * | 2008-07-23 | 2013-02-12 | Google Inc. | Advertisement customization |
CN103366186A (en) * | 2012-03-29 | 2013-10-23 | 中国科学院计算技术研究所 | Method and apparatus for dynamically changing terminal background |
CN105874449A (en) * | 2013-11-08 | 2016-08-17 | 谷歌公司 | Systems and methods for extracting and generating images for display content |
CN106202086A (en) * | 2015-05-04 | 2016-12-07 | 阿里巴巴集团控股有限公司 | A kind of picture processing, acquisition methods, Apparatus and system |
CN106920141A (en) * | 2015-12-28 | 2017-07-04 | 阿里巴巴集团控股有限公司 | Page presentation content processing method and device |
-
2017
- 2017-09-05 CN CN201710792637.2A patent/CN107590719A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8374935B1 (en) * | 2008-07-23 | 2013-02-12 | Google Inc. | Advertisement customization |
WO2011065369A1 (en) * | 2009-11-30 | 2011-06-03 | 楽天株式会社 | Banner generation system, banner generation device, banner generation method, banner generation program, computer-readable recording medium, information provision system, information provision method, and information provision program |
CN103366186A (en) * | 2012-03-29 | 2013-10-23 | 中国科学院计算技术研究所 | Method and apparatus for dynamically changing terminal background |
CN105874449A (en) * | 2013-11-08 | 2016-08-17 | 谷歌公司 | Systems and methods for extracting and generating images for display content |
CN106202086A (en) * | 2015-05-04 | 2016-12-07 | 阿里巴巴集团控股有限公司 | A kind of picture processing, acquisition methods, Apparatus and system |
CN106920141A (en) * | 2015-12-28 | 2017-07-04 | 阿里巴巴集团控股有限公司 | Page presentation content processing method and device |
Non-Patent Citations (1)
Title |
---|
崔唯: "《色彩构成》", 30 June 1996, 中国纺织出版社 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825989A (en) * | 2018-07-23 | 2020-02-21 | 北京京东尚科信息技术有限公司 | Picture display method and device, electronic equipment and readable medium |
CN109345612A (en) * | 2018-09-13 | 2019-02-15 | 腾讯数码(天津)有限公司 | A kind of image generating method, device, equipment and storage medium |
CN110347456A (en) * | 2019-05-28 | 2019-10-18 | 北京奇艺世纪科技有限公司 | Image processing method, device, computer equipment and storage medium |
CN110795659A (en) * | 2019-09-25 | 2020-02-14 | 口碑(上海)信息技术有限公司 | Method and device for generating page background picture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107590719A (en) | Generate method and device, the readable storage medium storing program for executing of virtual resource displaying image | |
US20160148532A1 (en) | Makeup application assistance device, makeup application assistance method, and makeup application assistance program | |
CN109784281A (en) | Products Show method, apparatus and computer equipment based on face characteristic | |
CN109345612B (en) | Image generation method, device, equipment and storage medium | |
CN107924555A (en) | System and method for customed product numeral mark | |
CN110162599A (en) | Personnel recruitment and interview method, apparatus and computer readable storage medium | |
DE60141337D1 (en) | MAKE UP AND MODEL JEWELRY PROCESS AND SYSTEM | |
US10572118B2 (en) | Pattern-based design system | |
CN102622613A (en) | Hair style design method based on eyes location and face recognition | |
CN111695964B (en) | Information display method and device, electronic equipment and storage medium | |
CN107169002A (en) | A kind of personalized interface method for pushing and device recognized based on face | |
CN108573519A (en) | 3-D graphic file generated and client show 3-D graphic method and device | |
CN109255826A (en) | Chinese training image generation method, device, computer equipment and storage medium | |
CN110443666A (en) | Information processing method, device, terminal and server | |
CN113781271A (en) | Makeup teaching method and device, electronic equipment and storage medium | |
US20140298229A1 (en) | Pattern-based design system | |
CN109872277A (en) | Information processing method and device | |
CN113946306A (en) | Method, device and equipment for lighting box body of display screen | |
CN112697159A (en) | Map editing method and system | |
CN105843972A (en) | Method and device for comparing product attribute information | |
CN111741318A (en) | Live broadcast operation method and process based on Internet platform | |
CN113569075A (en) | Method, device and equipment for recommending clothes | |
Bianco et al. | Unsupervised color coding for visualizing image classification results | |
CN116935080B (en) | Injection medicine identification method, system and storage cabinet | |
CN110223217A (en) | A kind of planar design automatic addition decorative element information processing system and method |
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 |
Address after: 266000, No. 218, Bay Road, Qingdao economic and Technological Development Zone, Shandong Applicant after: Hisense Visual Technology Co., Ltd. Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180116 |
|
RJ01 | Rejection of invention patent application after publication |