CN105761205B - A kind of picture put-on method and device - Google Patents
A kind of picture put-on method and device Download PDFInfo
- Publication number
- CN105761205B CN105761205B CN201610154516.0A CN201610154516A CN105761205B CN 105761205 B CN105761205 B CN 105761205B CN 201610154516 A CN201610154516 A CN 201610154516A CN 105761205 B CN105761205 B CN 105761205B
- Authority
- CN
- China
- Prior art keywords
- picture
- size
- parameter
- standard size
- normal pictures
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 238000006243 chemical reaction Methods 0.000 claims description 27
- 230000004044 response Effects 0.000 claims description 9
- 238000003708 edge detection Methods 0.000 claims description 8
- 230000000717 retained effect Effects 0.000 claims 2
- 238000012545 processing Methods 0.000 description 26
- 230000008569 process Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 241000208340 Araliaceae Species 0.000 description 6
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 6
- 235000003140 Panax quinquefolius Nutrition 0.000 description 6
- 235000008434 ginseng Nutrition 0.000 description 6
- 230000003252 repetitive effect Effects 0.000 description 4
- 239000007795 chemical reaction product Substances 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000000052 comparative effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000004321 preservation Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G06T3/04—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformation in the plane of the image
- G06T3/40—Scaling the whole image or part thereof
- G06T3/4007—Interpolation-based scaling, e.g. bilinear interpolation
Abstract
Embodiments of the present invention provide a kind of picture put-on method and device.The described method includes: one group of picture standard size S { S1, S2 ..., Si ..., Sn } is defined, wherein each picture standard size S, which corresponds to the one or more targets launched for picture, launches size M { M1, M2 ..., Mi ..., Mn };Receive the normal pictures Pi with picture standard size Si;According to the picture standard size Si, determine that one or more targets corresponding with the picture standard size Si launch size Mi;Normal pictures Pi with picture standard size Si is converted to one or more dispensing picture Pi ' that size Mi is launched with corresponding target automatically, to carry out picture dispensing.
Description
Technical field
Embodiments of the present invention are related to the communications field, more specifically, embodiments of the present invention are related to picture dispensing side
Method and device.
Background technique
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein
Description recognizes it is the prior art not because not being included in this section.
With the development of communication technology, more and more users carry out picture dispensing, example by media Internet-based
Dispensing such as user by from advertisement delivery system to each media progress advertising pictures.In traditional advertising pictures are launched, advertisement
Jettison system records the target dispensing size for being used to launch advertisement required by each media first;When user needs through the advertisement
When jettison system launches advertisement to certain media, it need to upload to the advertisement delivery system and be thrown with the target of advertisement required for the media
Put size strictly matched picture;If the target of advertisement required for the picture uploaded and the media does not launch size not
To match, advertisement delivery system needs handle the picture uploaded, for example, the cutting of linear scale, edge or filling etc., to turn
The target for being changed to advertisement required for the media launches size.
However, if requiring the picture uploaded strictly to match with the dispensing of target required for each media size,
It needs advertisement delivery system target according to needed for each media to launch size to make stringent matched picture respectively, needs very much
Time, manpower.When the target of the advertisement required for the picture and media to be put uploaded launches size mismatch, if
Picture is handled by linear scale method, the obvious object in picture may be made to be deformed into the degree for being difficult to recognize, and is passed through
Edge cuts fill method and handles picture, then may crop the important information of image edge, such as brand footmark, be unfavorable for figure
The understanding of picture greatly reduces the experience of end product.
Summary of the invention
Because in picture jettison system in the prior art, in picture launch process, target required for each media is launched
Size respectively has difference, when launching advertising pictures to different media, need to upload and launch size with target required for each media
Stringent matched picture, needs many times, manpower.Alternatively, working as the target of advertisement required for uploaded picture and media
When launching size mismatch, if handling picture by linear scale method, the obvious object in picture can be made to be deformed into and be difficult to distinguish
The degree recognized, and fill method is cut by edge and handles picture, then it may crop the important information of image edge, such as angle
Mark, is unfavorable for the understanding to image, greatly reduces the experience of end product.
Therefore in the prior art, picture put-on method and device users experience are bad, and low efficiency is launched in waste of manpower,
Treated, and picture deformation even is difficult to recognize, it is also possible to important information is cropped, the experience of end product is greatly reduced,
This is very bothersome process.
Thus, it is also very desirable to which a kind of improved picture put-on method and device, the picture for enabling user to upload more hold
It changes places and launches size matching from the standard of different media, so as to be suitable for different media, or it can be in the same matchmaker
It is launched in the multiple advertisement positions for launching size with different target in body;It is converted by the picture for uploading user more
The standard-sized picture of a picture simultaneously saves, and can call directly when needed, avoid repetitive operation, simplifies picture
Process flow saves time, the efficiency to significantly improve picture processing, launch;By to foreground picture part in picture
It with the processing respectively of Background part, can guarantee that the important foreground information in picture is indeformable, be obviously improved picture dispensing
Quality.
In the present context, embodiments of the present invention are intended to provide a kind of picture put-on method and device.
In the first aspect of embodiment of the present invention, a kind of picture put-on method is provided, comprising: define one group of picture
Standard size S { S1, S2 ..., Si ..., Sn }, wherein each picture standard size S correspond to for picture launch one or
Multiple targets launch size M M1, M2 ..., Mi ..., Mn };Receive the normal pictures Pi with picture standard size Si;According to
The picture standard size Si determines that one or more targets corresponding with the picture standard size Si launch size Mi;
Normal pictures Pi with picture standard size Si is converted to one or more with corresponding target dispensing size Mi automatically
A dispensing picture Pi ', to carry out picture dispensing.
Picture put-on method in above embodiment according to the present invention, wherein calculating the conspicuousness ginseng in each region
Number includes calculating the conspicuousness parameter in each region by calculating image entropy and/or edge detection mode.
In the second aspect of embodiment of the present invention, a kind of picture delivery device is provided, comprising: size defines mould
Block is configured as defining one group of picture standard size S { S1, S2 ..., Si ..., Sn }, wherein each picture standard size S is corresponding
In one or more targets for being launched for picture launch size M M1, M2 ..., Mi ..., Mn };Picture receiving module is matched
It is set to the normal pictures Pi for receiving and there is picture standard size Si;First size determining module is configured as according to the picture
Standard size Si determines that one or more targets corresponding with the picture standard size Si launch size Mi;First picture
Conversion module is configured as automatically being converted to the normal pictures Pi with picture standard size Si and launch with corresponding target
The one or more of size Mi launch picture Pi ', to carry out picture dispensing.
Picture delivery device in above embodiment according to the present invention, further includes: second picture conversion module is matched
Be set to by the received normal pictures Pi with picture standard size Si be converted to be respectively provided with picture standard size S S1,
S2 ..., Si ..., Sn } n normal pictures P1, P2 ..., Pi ..., Pn };Second size determining module, is configured to respond to
In launching the request that size Mj carries out picture dispensing with target, determining and target launches picture standard size corresponding to size Mj
Sj simultaneously obtains corresponding normal pictures Pj;Third picture conversion module is configured as having picture standard size Sj automatically
Normal pictures Pj be converted to corresponding target launch size Mj dispensing picture Pj ', to carry out picture dispensing.
Picture delivery device in above embodiment according to the present invention, further includes: picture preserving module is configured as
Preservation be respectively provided with picture standard size S1, S2 ..., Si ..., Sn } n normal pictures P1, P2 ..., Pi ..., Pn }.
Picture delivery device in above embodiment according to the present invention, wherein the second size determining module also by
It is configured that in response to launching the request that size Mj carries out picture dispensing with target, it is determining to be launched corresponding to size Mj with target
Picture standard size Sj;Judge saved n normal pictures P1, P2 ..., Pi ..., Pn } in whether include with picture mark
The normal pictures Pj of object staff cun Sj;If saved n normal pictures P1, P2 ..., Pi ..., Pn } in include have picture
The normal pictures Pj of standard size Sj obtains the normal pictures Pj;Or if saved n normal pictures P1,
P2 ..., Pi ..., Pn } in do not include the normal pictures Pj with picture standard size Sj, trigger the second picture modulus of conversion
Block by the received normal pictures Pi with picture standard size Si be converted to the normal pictures with picture standard size Sj
Pj。
Picture delivery device in above embodiment according to the present invention, wherein the first picture conversion module packet
Include: the first parameter acquisition module is configured as launching size according to picture standard size and target, obtains zooming parameter, described
Zooming parameter includes uniform zoom parameter and cuts out parameter;First Zoom module is configured as according to the uniform zoom parameter,
Uniform zoom is carried out to the normal pictures, to obtain the picture after uniform zoom;First cuts out module, is configured as according to institute
It states and cuts out parameter, the picture after the uniform zoom is cut out, to obtain the picture that there is corresponding target to launch size.
Picture delivery device in above embodiment according to the present invention, wherein the second picture conversion module packet
Include: the second parameter acquisition module, be configured as being launched according to picture standard size Si and target size S S1, S2 ..., Si ...,
Sn }, zooming parameter is obtained, the zooming parameter includes uniform zoom parameter and cuts out parameter;Second Zoom module, is configured as
According to the uniform zoom parameter, uniform zoom is carried out to the normal pictures Pi, to obtain the picture after uniform zoom;Second
Module is cut out, is configured as cutting out parameter according to, the picture after the uniform zoom is cut out, there is figure to obtain
Piece standard size S S1, S2 ..., Si ..., Sn } n normal pictures P1, P2 ..., Pi ..., Pn }.
Picture delivery device in above embodiment according to the present invention, wherein the Zoom module is configured as: root
According to the uniform zoom parameter, using nearest neighbor, bilinear or bibubic method to the normal pictures into
Row uniform zoom.
Picture delivery device in above embodiment according to the present invention is cut out module and is configured as: root wherein described
Parameter is cut out according to described, the Background part of the picture after the uniform zoom is cut out, and retain the uniform zoom
The foreground picture part of picture afterwards.
Picture delivery device in above embodiment according to the present invention is cut out module and is configured as: will wherein described
Picture after the uniform zoom is converted to gray scale picture;The gray scale picture is divided into several regions;Calculate each area
Conspicuousness parameter in domain;Parameter, the lower one or more regions of removal conspicuousness parameter, to be had are cut out according to described
There is corresponding target to launch the picture of size.
Picture delivery device in above embodiment according to the present invention cuts out module and is configured as passing through wherein described
Image entropy and/or edge detection mode are calculated to calculate the conspicuousness parameter in each region.
The picture put-on method and device of embodiment according to the present invention, the picture for enabling user to upload is more easily
Size matching is launched from the standards of different media, so as to being suitable for different media, or can be in the same media
With different target launch size multiple advertisement positions in launched;Multiple figures are converted by the picture for uploading user
The standard-sized picture of piece simultaneously saves, and can call directly when needed, the processing for avoiding repetitive operation, simplifying picture
Process saves time, the efficiency to significantly improve picture processing, launch;By to foreground picture part and back in picture
The processing respectively of scape figure part can guarantee that the important foreground information in picture is indeformable, be obviously improved the quality of picture dispensing.
Detailed description of the invention
The following detailed description is read with reference to the accompanying drawings, above-mentioned and other mesh of exemplary embodiment of the invention
, feature and advantage will become prone to understand.In the accompanying drawings, if showing by way of example rather than limitation of the invention
Dry embodiment, in which:
Figure 1A and Figure 1B schematically shows the application scenarios of embodiment according to the present invention;
Fig. 2 schematically shows the flow diagrams of the picture put-on method of embodiment according to the present invention;
Fig. 3 schematically shows the schematic diagram of the picture delivery device of embodiment according to the present invention;
Fig. 4 schematically shows the schematic diagrames of the picture delivery device of another embodiment according to the present invention;And
Fig. 5 schematically shows the program product of another embodiment according to the present invention launched for picture.
In the accompanying drawings, identical or corresponding label indicates identical or corresponding part.
Specific embodiment
The principle and spirit of the invention are described below with reference to several illustrative embodiments.It should be appreciated that providing this
A little embodiments are used for the purpose of making those skilled in the art can better understand that realizing the present invention in turn, and be not with any
Mode limits the scope of the invention.On the contrary, these embodiments are provided so that this disclosure will be more thorough and complete, and energy
It is enough that the scope of the present disclosure is completely communicated to those skilled in the art.
Those skilled in the art will understand that embodiments of the present invention can be implemented as a kind of system, device, equipment,
Method or computer program product.Therefore, the present disclosure may be embodied in the following forms, it may be assumed that complete hardware, complete soft
The form that part (including firmware, resident software, microcode etc.) or hardware and software combine.
Embodiment according to the present invention proposes a kind of for picture put-on method and device.
Herein, it is to be understood that any number of elements in attached drawing be used to example rather than limit and it is any
Name is only used for distinguishing, without any restrictions meaning.
Below with reference to several representative embodiments of the invention, the principle and spirit of the present invention are explained in detail.
Summary of the invention
The inventors discovered that launching size according to the different target of multiple media to define one group of picture standard size;On
It passes and receives with the standard-sized picture of picture, then the picture uploaded is handled, such as cut and fill out by being based on
The mode of non-key background area is filled, automatic adaptation can be carried out to the picture uploaded, picture is converted to media needs
Target launches size, obtains the display advertising of high quality after Intelligent treatment, it is possible thereby to by only uploading a picture
It adapts to multiple and different targets required for multiple media and launches size, significantly improve the dispensing efficiency of picture, saved manpower
And the time, it can preferably improve the user experience of advertisement delivery system;Meanwhile by foreground and background information in picture
It handles respectively, can guarantee that the important foreground information in picture is indeformable, be obviously improved the quality of picture dispensing.
After introduced the basic principles of the present invention, lower mask body introduces various non-limiting embodiment party of the invention
Formula.
Application scenarios overview
Referring initially to Figure 1A and 1B, for some schematic diagrames for launching picture.When user need by advertisement delivery system to
When certain media carries out the dispensing of advertising pictures, need to upload the picture to be put having a size of A to advertisement delivery system first, such as
As shown in Figure 1A.According to the selected media for launching picture of user, advertisement delivery system obtains target required by the media
Launch size B.Then, the picture to be put that the size uploaded is A is converted to target and launches size B's by advertisement delivery system
Picture, as shown in Figure 1B, for example, be respectively processed by foreground part to the picture uploaded and background parts, so that
The important information of foreground part is indeformable, does not lose, so that the picture after conversion be launched to selected media.
It will be understood by those skilled in the art that schematic diagram shown in figure 1A and 1B is only that embodiments of the present invention can be
An example being wherein achieved.The scope of application of embodiment of the present invention is unrestricted.
Illustrative methods
Below with reference to the application scenarios of Figure 1A and 1B, it is described with reference to Figure 2 the figure of illustrative embodiments according to the present invention
Piece put-on method.It should be noted which is shown only for the purpose of facilitating an understanding of the spirit and principles of the present invention for above-mentioned application scenarios,
Embodiments of the present invention are not limited in this respect.On the contrary, embodiments of the present invention can be applied to applicable appoint
What scene.
Fig. 2 schematically shows the flow diagrams of the picture put-on method 200 of embodiment according to the present invention.Such as figure
Shown in 2, this method 200 may include:
S201, one group of picture standard size S { S1, S2 ..., Si ..., Sn } is defined, wherein each S pairs of picture standard size
Ying Yu for picture launch one or more targets launch size M M1, M2 ..., Mi ..., Mn }.
In some possible embodiments, the picture put-on method of the embodiment of the present invention can be used for the throwing of advertising pictures
It puts, the dispensing of advertising pictures is a kind of advertisement type using picture advertisement information, is that one kind that Internet advertising is launched is important
Form.It is to need the information transmitted in the form of intuitive, colored, comparative picture user that advertising pictures, which are launched, by wide
It accuses jettison system to be launched to media, then is issued from media to the public, therefore there is very strong readable, transitivity.
In some possible embodiments, the advertisement delivery system of the embodiment of the present invention can be the figure uploaded to user
The individual (or system) that piece is made, handled, such as have intelligence choosing.Optionally, user, which can be, passes through advertisement delivery system
Carry out the individual of advertising pictures dispensing, such as certain motor corporation.
In some possible embodiments, the media of the embodiment of the present invention can be basis and be handled by advertisement delivery system
Transmitting carrier of the picture afterwards to public's releasing advertisements, such as Netease's news.
It will carry out detailed description of the present invention illustrative embodiments below with the dispensing of advertising pictures.It should be understood that advertisement
The dispensing of picture is only an exemplary embodiment of the present invention, be should not be construed as limiting the invention, the present invention
It can be used for other aspects, such as carry out the dispensing of picture in newpapers and periodicals, magazine, poster, TV programme, the various media of video.
In some possible embodiments, different media might have different sizes for the picture launched and want
Ask, that is, the picture launched need to be converted to different media, and respectively required target launches size, could in the media into
Row is launched, and for same media, it may have different target launches size, multiple advertisement positions for launching picture.In order to
The picture for enabling user to upload launches size matching, from the standard of different media more easily so as to suitable for difference
Media, or can be launched in the multiple advertisement positions for launching size with different target in same media, can be with
Define one group of intermediate sizes, i.e. picture standard size S { S1, S2 ..., Si ..., Sn }.Optionally, picture standard size S
S1, S2 ..., Si ..., Sn } it can be the media that may be selected with the selected media to be launched of user or future
Target launch size M { M1, M2 ..., Mi ..., Mn } it is corresponding, can be according to the target of different media launch size and
Definition, it can be the different target according to required by advertisement position multiple and different in same media and launch size and define,
It can be experience is launched according to long-term advertisement and is defined by advertisement delivery system, can be and obtained by market survey
One group of picture being frequently used is launched size and is defined, and is also possible to define by other any suitable ways.
For example, Netease's news can have n if user (such as certain motor corporation) wishes to launch picture to Netease's news
A different advertisement position, the target different corresponding to n launch size M { M1, M2 ..., Mi ..., Mn }, then, if carried out
When picture is launched, advertisement delivery system (such as have intelligence choosing) needs the picture for uploading user to be converted to the target of Netease's news
Launch size;More easily launch size with the various targets of Netease news for the picture for enabling user to upload and match,
To adapt to advertisement position multiple and different in Netease's news, or size is launched with the target of other media and is matched, so as to suitable
For other media, one group of picture standard size S { S1, S2 ..., Si ..., Sn } can be defined, wherein each picture gauge
Very little S is the one or more targets dispensing size M that selected the media to be launched (such as Netease's news or other media) with user
M1, M2 ..., Mi ..., Mn } it is corresponding.Optionally, each picture standard size S can be corresponding one or more
A target is launched similar in size M, such as picture standard size Si is 1280 × 520, corresponding to target launch size Mi
It may include 2 × 1,9 × 4 etc..
Step S202, the normal pictures Pi with picture standard size Si is received.
In some possible embodiments, if the user desired that launching advertisement figure to media by advertisement delivery system
Piece can set picture standard size Si for dimension of picture in advance, and uploaded by user, had by advertisement delivery system reception
The normal pictures Pi of picture standard size Si.
Step S203, according to the picture standard size Si, one corresponding with the picture standard size Si is determined
Or multiple targets launch size Mi.
In some possible embodiments, when user uploads and is received by advertisement delivery system with picture standard size
After the normal pictures Pi of Si, the corresponding relationship of size, the determining and picture standard are launched according to picture standard size and target
The corresponding one or more targets of size Si launch size Mi, so that the picture for being uploaded user by subsequent processing is launched
On the advertisement position for meeting the media that target launches size Mi.
Optionally, user is before uploading pictures, can first select the media to be launched, be launched in the media
The target of advertisement position and the advertisement position launches size Mi, then uploads picture standard corresponding with target dispensing size Mi again
The normal pictures Pi of size Si.Optionally, of course, user is before uploading pictures, it may not be necessary to pre-select the matchmaker to be launched
The target of body or advertisement position and the advertisement position launches size Mi, and user can also first upload the mark with picture standard size Si
Quasi- picture Pi, then the corresponding relationship of size is launched by advertisement delivery system according to picture standard size and target, it is determining with it is described
The corresponding one or more targets of picture standard size Si launch size Mi, launch size Mi further according to determining target to select
It selects and carries out launching or launching on which advertisement position of media on which media, that is, in the matchmaker for launching size Mi with standard
Picture dispensing is carried out on the advertisement position of body.
Step S204, the normal pictures Pi with picture standard size Si is converted to automatically and is launched with corresponding target
The one or more of size Mi launch picture Pi ', to carry out picture dispensing.
Optionally, when picture standard size Si is close with target dispensing size Mi, such as picture standard size Si is
1280 × 520, corresponding to target launch size Mi be 2 × 1, the size conversion of picture can carry out automatically;Optionally, certainly
It, can also be in combination with manually adjusting, to improve the quality of picture when the dynamic size conversion for carrying out picture.
In some possible embodiments, further includes: by the received normal pictures with picture standard size Si
Pi be converted to be respectively provided with picture standard size S S1, S2 ..., Si ..., Sn } n normal pictures P1, P2 ..., Pi ...,
Pn};It is determining to launch picture corresponding to size Mj with target in response to launching the request that size Mj carries out picture dispensing with target
Standard size Sj simultaneously obtains corresponding normal pictures Pj;Automatically the normal pictures Pj with picture standard size Sj is converted to
The dispensing picture Pj ' of size Mj is launched, with corresponding target to carry out picture dispensing.
As described above, each media, which might have different target for the picture launched, launches size, and for
Same media, it may have different target launches size, multiple advertisement positions for launching picture.For the figure for uploading user
Piece can more easily launch size matching, so as to suitable for different media, Huo Zheneng from the standard of different media
It is launched, can be had in enough multiple advertisement positions for launching size with different target in same media by what is received
The standard-sized normal pictures of picture are converted to the standard-sized picture of other pictures.For example, for picture standard
The normal pictures Pi of size Si=1280 × 520, in order to can with other targets launch size different media in
Or launched in the different advertisement positions of same media, can there will be the standard drawing of picture standard size Si=1280 × 520
Piece Pi (as shown in Figure 1A) be converted to first with other picture standard sizes S S1, S2 ..., Si ..., Sn } n standard drawing
Piece { P1, P2 ..., Pi ..., Pn }, such as the normal pictures Pj with picture standard size Sj=900 × 520, such as Figure 1B institute
Show;When user wishes to launch in the advertisement position for launching size Mj with target, such as Mj=3 × 2, it can be according to figure
Piece standard size S and target launch the corresponding relationship of size M, determine picture standard size Sj=corresponding to Mj=3 × 2
900 × 520, and obtain corresponding normal pictures Pj;Normal pictures Pj with picture standard size Sj, which is converted to, to be had
Corresponding target launches the dispensing picture Pj ' of size Mj, to carry out picture dispensing.
In some possible embodiments, method 200 further include: preservation be respectively provided with picture standard size S1,
S2 ..., Si ..., Sn } n normal pictures P1, P2 ..., Pi ..., Pn }.
In some cases, user may initially be intended merely to carry out picture dispensing on the particular advertisement position of some media,
Accordingly, it is possible to only need by the received normal pictures Pi with picture standard size Si be converted to particular advertisement in the media
The target of position launches size Mi;And in the later period, user may expect the picture of the same upload in other media or the media
Other advertisement positions on launched, at this moment, then similar place is carried out to the normal pictures Pi with picture standard size Si
Reason, that is, be converted into the matched size Mj of other advertisement positions of other media or the media, the multiple similar steps in front can be repeated
Suddenly, the efficiency for increasing total operating time, reducing picture processing, launching.
Therefore, in order to enable user upload picture more easily from the standard of different media launch size matching,
So as to being suitable for different media, or the multiple wide of size can be launched with different target in the same media
It accuses and is launched in position, be converted to by the normal pictures Pi with picture standard size Si with other picture standard sizes S
After the n normal pictures { P1, P2 ..., Pi ..., Pn } of { S1, S2 ..., Si ..., Sn }, this n normal pictures can be protected
It deposits, to call directly when needed, simplifies the process flow of picture, saves the time, to significantly improve
The efficiency of picture processing, dispensing.
In some possible embodiments, wherein in response to launching the request that size Mj carries out picture dispensing with target,
It is determining launch picture standard size Sj corresponding to size Mj with target and obtain corresponding normal pictures Pj include: in response to
The request that size Mj carries out picture dispensing is launched with target, it is determining to launch picture standard size corresponding to size Mj with target
Sj;Judge saved n normal pictures P1, P2 ..., Pi ..., Pn } in whether include the mark with picture standard size Sj
Quasi- picture Pj;If saved n normal pictures P1, P2 ..., Pi ..., Pn } in include that there is picture standard size Sj
Normal pictures Pj obtains the normal pictures Pj;Or if saved n normal pictures P1, P2 ..., Pi ..., Pn }
In do not include the normal pictures Pj with picture standard size Sj, by the received normal pictures with picture standard size Si
Pi is converted to the normal pictures Pj with picture standard size Sj.
When user requests to launch size Mj progress picture dispensing with target, size and picture mark first can be launched according to target
The corresponding relationship of object staff cun, it is determining to launch picture standard size Sj corresponding to size Mj with target, then judge saved n
Normal pictures P1, P2 ..., Pi ..., Pn } in whether include the normal pictures Pj with picture standard size Sj;If it is,
Normal pictures Pj can be called directly, to simplify the process flow of picture, save the time, to significantly improve picture processing, throwing
The efficiency put;If not including, can according to method described above, by it is received with picture standard size Si
Normal pictures Pi is converted to the normal pictures Pj with picture standard size Sj.
In some possible embodiments, wherein will have the standard-sized normal pictures of picture to be converted to automatically has
One or more pictures of launching that corresponding target launches size include: to launch size according to picture standard size and target, are obtained
Zooming parameter is obtained, the zooming parameter includes uniform zoom parameter and cuts out parameter;According to the uniform zoom parameter, to described
Normal pictures carry out uniform zoom, to obtain the picture after uniform zoom;Parameter is cut out according to described, after the uniform zoom
Picture be cut out, with obtain have corresponding target launch size picture.
In some possible embodiments, by the received normal pictures Pi with picture standard size Si be converted to
Be respectively provided with picture standard size S S1, S2 ..., Si ..., Sn } n normal pictures P1, P2 ..., Pi ..., Pn } include:
Size S { S1, S2 ..., Si ..., Sn } is launched according to picture standard size Si and target, obtains zooming parameter, the scaling ginseng
Number includes uniform zoom parameter and cuts out parameter;According to the uniform zoom parameter, the normal pictures Pi is carried out etc. than contracting
It puts, to obtain the picture after uniform zoom;Parameter is cut out according to described, the picture after the uniform zoom is cut out, with
Obtain have picture standard size S S1, S2 ..., Si ..., Sn } n normal pictures P1, P2 ..., Pi ..., Pn }.
In an exemplary embodiment of the present invention embodiment, when picture being converted to another size B by a size A, will such as scheme
Piece standard size S is converted to target and launches size M, or is converted to multiple picture standard sizes by a picture standard size Si
When S { S1, S2 ..., Si ..., Sn }, similar method can be used.For example, when needs will be with size A=1200x600's
When picture is converted to the picture with corresponding size B=600x200, scaling ginseng can be obtained first according to size A and size B
Number, the zooming parameter include uniform zoom parameter and cut out parameter;According to the uniform zoom parameter, to size A=
The normal pictures of 1200x600 carry out uniform zoom, i.e., by picture equal proportion it is wide it is high it is each reduce 50%, with obtain having a size of
Picture after the uniform zoom of 600x300;Parameter is cut out according to described, to the picture after the uniform zoom having a size of 600x300
It is cut out, that is, puncture 100 pixels on high direction, obtain the image of size B=600x200.
In some possible embodiments, according to the uniform zoom parameter, the normal pictures are carried out etc. than contracting
Put, with obtain the picture after uniform zoom include: according to the uniform zoom parameter, using nearest neighbor,
Bilinear or bibubic method carries out uniform zoom to the normal pictures.
In some possible embodiments, parameter is cut out according to described, the picture after the uniform zoom is cut
Sanction includes: that parameter is cut out according to, is cut out to the Background part of the picture after the uniform zoom, and described in reservation
The foreground picture part of picture after uniform zoom.In an exemplary embodiment of the present invention embodiment, the foreground picture part of picture can be with
It is to be located at main body or the close people in forward position or the part of object in picture, usually may include the picture master to be transmitted
Information is wanted, for example, personage, text shown in Figure 1A and icon;The Background part of picture may include relative to prospect
The part for setting off, coordinating the effects of tone is played in figure part, such as the white background in Figure 1B.By to foreground picture portion in picture
Divide the processing respectively with Background part, can guarantee that the important foreground information in picture is indeformable, is obviously improved picture dispensing
Quality.
In some possible embodiments, wherein cutting out parameter according to, to the picture after the uniform zoom into
It includes: that the picture after the uniform zoom is converted to gray scale picture that row, which is cut out,;The gray scale picture is divided into several areas
Domain;Calculate the conspicuousness parameter in each region;Parameter is cut out according to described, removes the lower one or more of conspicuousness parameter
Region, to obtain the picture that there is corresponding target to launch size.
In some possible embodiments, wherein calculating the conspicuousness parameter in each region includes by calculating image
Entropy and/or edge detection mode calculate the conspicuousness parameter in each region.
In an exemplary embodiment of the present invention embodiment, when being cut out to the picture after the uniform zoom, first will
Picture after uniform zoom is converted into gray scale picture;Picture having a size of M × N is divided into X × Y region, each region is wide
For M/X, a height of N/Y;Calculate the conspicuousness parameter in each region, can by calculate the modes such as image entropy and/or edge detection come
Calculate the conspicuousness parameter in each region;If learnt according to parameter is cut out, C picture need to be punctured in width direction
Element, namely in the subgraph matrix of X × Y, every row punctures XC/M region, then chooses the minimum XC/M of accumulative conspicuousness parameter
A region;Similarly, if need to cut out in short transverse, similar mode can be used.
In this way, the picture put-on method of embodiment according to the present invention, the picture for enabling user to upload is more easily
Size matching is launched from the standards of different media, so as to being suitable for different media, or can be in the same media
With different target launch size multiple advertisement positions in launched;Multiple figures are converted by the picture for uploading user
The standard-sized picture of piece simultaneously saves, and can call directly when needed, the processing for avoiding repetitive operation, simplifying picture
Process saves time, the efficiency to significantly improve picture processing, launch;By to foreground picture part and back in picture
The processing respectively of scape figure part can guarantee that the important foreground information in picture is indeformable, be obviously improved the quality of picture dispensing.
Example devices
After describing the method for exemplary embodiment of the invention, next, with reference to Fig. 3 to the exemplary reality of the present invention
Apply the schematic diagram of the picture delivery device of mode.
Fig. 3 schematically shows the schematic diagram of the picture delivery device 300 of embodiment according to the present invention.Such as Fig. 3 institute
Show, which may include: size definition module 301, picture receiving module 302, first size determining module 303 and
One picture conversion module 304.
As shown in figure 3, size definition module 301 be configured as defining one group of picture standard size S S1, S2 ...,
Si ..., Sn }, wherein each picture standard size S, which corresponds to the one or more targets launched for picture, launches size M
{M1,M2,…,Mi,…,Mn};
In some possible embodiments, the picture delivery device of the embodiment of the present invention can be used for the throwing of advertising pictures
It puts, the dispensing of advertising pictures is a kind of advertisement type using picture advertisement information, is that one kind that Internet advertising is launched is important
Form.It is to need the information transmitted in the form of intuitive, colored, comparative picture user that advertising pictures, which are launched, by wide
It accuses jettison system to be launched to media, then is issued from media to the public, therefore there is very strong readable, transitivity.
In some possible embodiments, the advertisement delivery system of the embodiment of the present invention can be the figure uploaded to user
The system that piece is made, handled, such as have intelligence choosing.Optionally, user, which can be, carries out advertisement by advertisement delivery system
The individual that picture is launched, such as certain motor corporation.
In some possible embodiments, the media of the embodiment of the present invention can be basis and be handled by advertisement delivery system
Transmitting carrier of the picture afterwards to public's releasing advertisements, such as Netease's news.
It will carry out detailed description of the present invention illustrative embodiments below with the dispensing of advertising pictures.It should be understood that advertisement
The dispensing of picture is only an exemplary embodiment of the present invention, be should not be construed as limiting the invention, the present invention
It can be used for other aspects, such as carry out the dispensing of picture in newpapers and periodicals, magazine, poster, TV programme, the various media of video.
In some possible embodiments, different media might have different sizes for the picture launched and want
Ask, that is, the picture launched need to be converted to different media, and respectively required target launches size, could in the media into
Row is launched, and for same media, it may have different target launches size, multiple advertisement positions for launching picture.In order to
The picture for enabling user to upload launches size matching, from the standard of different media more easily so as to suitable for difference
Media, or can be launched in the multiple advertisement positions for launching size with different target in same media, can be with
One group of intermediate sizes, i.e. picture standard size S { S1, S2 ..., Si ..., Sn } are defined by size definition module 301.Optionally,
The picture standard size S S1, S2 ..., Si ..., Sn } it can be and the selected media to be launched of user or the following possibility
Target dispensing size M { M1, M2 ..., Mi ..., Mn } of the media of meeting selection is corresponding, can be according to different media
Target is launched size and is defined, and can be the dispensing of the different target according to required by advertisement position multiple and different in same media
Size and define, can be and experience is launched according to long-term advertisement and is defined by advertisement delivery system, can be and pass through city
One be frequently used group picture that field is investigated and obtained is launched size and is defined, and is also possible to any suitable by other
Mode and define.
For example, Netease's news can have n if user (such as certain motor corporation) wishes to launch picture to Netease's news
A different advertisement position, the target different corresponding to n launch size M { M1, M2 ..., Mi ..., Mn }, then, if carried out
When picture is launched, advertisement delivery system (such as have intelligence choosing) needs the picture for uploading user to be converted to the target of Netease's news
Launch size;More easily launch size with the various targets of Netease news for the picture for enabling user to upload and match,
To adapt to advertisement position multiple and different in Netease's news, or size is launched with the target of other media and is matched, so as to suitable
For other media, one group of picture standard size S { S1, S2 ..., Si ..., Sn } can be defined by size definition module 301,
In, each picture standard size S be selected with user one of the media to be launched (such as Netease's news or other media) or
Multiple targets launch size M M1, M2 ..., Mi ..., Mn } it is corresponding.Optionally, each picture standard size S can be with
Its corresponding one or more target is launched similar in size M, such as picture standard size Si is 1280 × 520, corresponding to
Target launch size Mi may include 2 × 1,9 × 4 etc..
As shown in figure 3, device 300 includes picture receiving module 302, it is configured as receiving with picture standard size Si
Normal pictures Pi.
In some possible embodiments, if the user desired that launching advertisement figure to media by advertisement delivery system
Piece can set picture standard size Si for dimension of picture in advance, and be uploaded by user, be received by picture receiving module 302
Normal pictures Pi with picture standard size Si.
As shown in figure 3, device 300 includes first size determining module 303, it is configured as according to the picture standard size
Si determines that one or more targets corresponding with the picture standard size Si launch size Mi.
In some possible embodiments, when user uploads and is received by picture receiving module 302 with picture standard
After the normal pictures Pi of size Si, first size determining module 303 launches the corresponding of size with target according to picture standard size
Relationship determines that one or more targets corresponding with the picture standard size Si launch size Mi, to pass through subsequent place
Reason launches the picture that user is uploaded on the advertisement position for meeting the media that target launches size Mi.
Optionally, user is before uploading pictures, can first select the media to be launched, be launched in the media
The target of advertisement position and the advertisement position launches size Mi, then uploads picture standard corresponding with target dispensing size Mi again
The normal pictures Pi of size Si.Optionally, of course, user is before uploading pictures, it may not be necessary to pre-select the matchmaker to be launched
The target of body or advertisement position and the advertisement position launches size Mi, and user can also first upload the mark with picture standard size Si
Quasi- picture Pi, then determined by first size determining module 303 according to the corresponding relationship of picture standard size and target dispensing size
One or more target corresponding with the picture standard size Si launches size Mi, launches size further according to determining target
Mi is launched to select to carry out on which media or is launched on which advertisement position of media, that is, is launching size with standard
Picture dispensing is carried out on the advertisement position of the media of Mi.
As shown in figure 3, device 300 includes the first picture conversion module 304, it is configured as there be picture gauge automatically
The normal pictures Pi of very little Si is converted to one or more dispensing picture Pi ' that size Mi is launched with corresponding target, to carry out
Picture is launched.
Optionally, when picture standard size Si is close with target dispensing size Mi, such as picture standard size Si is
1280 × 520, corresponding to target launch size Mi be 2 × 1, the size conversion of picture can carry out automatically;Optionally, certainly
It, can also be in combination with manually adjusting, to improve the quality of picture when the dynamic size conversion for carrying out picture.
In some possible embodiments, device 300 further include: second picture conversion module 305 is configured as institute
The received normal pictures Pi with picture standard size Si be converted to be respectively provided with picture standard size S S1, S2 ...,
Si ..., Sn n normal pictures P1, P2 ..., Pi ..., Pn };Second size determining module 306, is configured to respond to
The request that size Mj carries out picture dispensing is launched with target, it is determining to launch picture standard size Sj corresponding to size Mj with target
And obtain corresponding normal pictures Pj;Third picture conversion module 307 is configured as having picture standard size Sj automatically
Normal pictures Pj be converted to corresponding target launch size Mj dispensing picture Pj ', to carry out picture dispensing.
As described above, each media, which might have different target for the picture launched, launches size, and for
Same media, it may have different target launches size, multiple advertisement positions for launching picture.For the figure for uploading user
Piece can more easily launch size matching, so as to suitable for different media, Huo Zheneng from the standard of different media
It is launched, can be had in enough multiple advertisement positions for launching size with different target in same media by what is received
The standard-sized normal pictures of picture are converted to the standard-sized picture of other pictures.For example, for picture standard
The normal pictures Pi of size Si=1280 × 520, in order to can with other targets launch size different media in
Or launched in the different advertisement positions of same media, second picture conversion module 305 can will have picture standard size Si
=1280 × 520 normal pictures Pi (as shown in Figure 1A) be converted to first with other picture standard sizes S S1, S2 ...,
Si ..., Sn } n normal pictures { P1, P2 ..., Pi ..., Pn }, such as with picture standard size Sj=900 × 520
Normal pictures Pj, as shown in Figure 1B;When user wishes to launch in the advertisement position for launching size Mj with target, such as
Mj=3 × 2, the second size determining module 306 can launch the corresponding relationship of size M according to picture standard size S and target,
It determines picture standard size Sj=900 × 520 corresponding to Mj=3 × 2, and obtains corresponding normal pictures Pj;Third figure
Normal pictures Pj with picture standard size Sj is converted to and is launched size Mj's with corresponding target by piece conversion module 307
Picture Pj ' is launched, to carry out picture dispensing.
In some possible embodiments, device 300 further include: picture preserving module 308 is configured as saving difference
With picture standard size S1, S2 ..., Si ..., Sn } n normal pictures P1, P2 ..., Pi ..., Pn }.
In some cases, user may initially be intended merely to carry out picture dispensing on the particular advertisement position of some media,
Accordingly, it is possible to only need by the received normal pictures Pi with picture standard size Si be converted to particular advertisement in the media
The target of position launches size Mi;And in the later period, user may expect the picture of the same upload in other media or the media
Other advertisement positions on launched, at this moment, then similar place is carried out to the normal pictures Pi with picture standard size Si
Reason, that is, be converted into the matched size Mj of other advertisement positions of other media or the media, the multiple similar steps in front can be repeated
Suddenly, the efficiency for increasing total operating time, reducing picture processing, launching.
Therefore, in order to enable user upload picture more easily from the standard of different media launch size matching,
So as to being suitable for different media, or the multiple wide of size can be launched with different target in the same media
It accuses and is launched in position, be converted to by the normal pictures Pi with picture standard size Si with other picture standard sizes S
After the n normal pictures { P1, P2 ..., Pi ..., Pn } of { S1, S2 ..., Si ..., Sn }, picture preserving module 308 can be by this
N normal pictures save, to call directly when needed, simplify the process flow of picture, save the time,
To the efficiency for significantly improving picture processing, launching.
In some possible embodiments, wherein the second size determining module 306 is also configured in response to target
The request that size Mj carries out picture dispensing is launched, it is determining to launch picture standard size Sj corresponding to size Mj with target;Judgement
Saved n normal pictures P1, P2 ..., Pi ..., Pn } in whether include the normal pictures with picture standard size Sj
Pj;If saved n normal pictures P1, P2 ..., Pi ..., Pn } in include the standard drawing with picture standard size Sj
Piece Pj obtains the normal pictures Pj;Or if saved n normal pictures P1, P2 ..., Pi ..., Pn } in do not wrap
The normal pictures Pj with picture standard size Sj is included, triggering second picture conversion module 305 is received with picture mark by institute
The normal pictures Pi of object staff cun Si is converted to the normal pictures Pj with picture standard size Sj.
When user requests to launch size Mj progress picture dispensing with target, size and picture mark first can be launched according to target
The corresponding relationship of object staff cun launches picture gauge corresponding to size Mj with target as the determination of the second size determining module 306
Very little Sj, then judge in n saved normal pictures { P1, P2 ..., Pi ..., Pn } whether to include that there is picture standard size Sj
Normal pictures Pj;If it is, normal pictures Pj can be called directly, with simplify the process flow of picture, save the time, from
And the efficiency for significantly improving picture processing, launching;If not including, can trigger second picture conversion module 305 will be connect
The normal pictures Pi with picture standard size Si received is converted to the normal pictures Pj with picture standard size Sj.
In some possible embodiments, wherein the first picture conversion module 304 includes: the first parameter acquisition module
304A is configured as launching size according to picture standard size and target, obtains zooming parameter, and the zooming parameter includes waiting ratios
Zooming parameter and cut out parameter;First Zoom module 304B is configured as according to the uniform zoom parameter, to the standard drawing
Piece carries out uniform zoom, to obtain the picture after uniform zoom;First cuts out module 304C, is configured as cutting out ginseng according to
Number, is cut out the picture after the uniform zoom, to obtain the picture that there is corresponding target to launch size.
In some possible embodiments, the second picture conversion module 305 includes: the second parameter acquisition module
305A is configured as launching size S { S1, S2 ..., Si ..., Sn } according to picture standard size Si and target, obtains scaling ginseng
Number, the zooming parameter include uniform zoom parameter and cut out parameter;Second Zoom module 305B, is configured as according to described etc.
Than zooming parameter, uniform zoom is carried out to the normal pictures Pi, to obtain the picture after uniform zoom;Second cuts out module
305C is configured as cutting out parameter according to, is cut out to the picture after the uniform zoom, has picture mark to obtain
Object staff cun S S1, S2 ..., Si ..., Sn } n normal pictures P1, P2 ..., Pi ..., Pn }.
In an exemplary embodiment of the present invention embodiment, when picture being converted to another size B by a size A, will such as scheme
Piece standard size S is converted to target and launches size M, or is converted to multiple picture standard sizes by a picture standard size Si
When S { S1, S2 ..., Si ..., Sn }, similar method can be used.For example, when needs will be with size A=1200x600's
It, can be first by the first parameter acquisition module 304A or second when picture is converted to the picture with corresponding size B=600x200
Parameter acquisition module 305A obtains zooming parameter according to size A and size B, the zooming parameter include uniform zoom parameter and
Cut out parameter;By the first Zoom module 304B or the second Zoom module 305B according to the uniform zoom parameter, to size A=
The normal pictures of 1200x600 carry out uniform zoom, i.e., by picture equal proportion it is wide it is high it is each reduce 50%, with obtain having a size of
Picture after the uniform zoom of 600x300;Module 304C or second is cut out as first cutting out module 305C, ginseng is cut out according to
Number, is cut out the picture after the uniform zoom having a size of 600x300, that is, puncture 100 pixels on high direction, obtain
To the image of size B=600x200.
In some possible embodiments, the first Zoom module 304B or the second Zoom module 305B are configured as: root
According to the uniform zoom parameter, using nearest neighbor, bilinear or bibubic method to the normal pictures into
Row uniform zoom.
In some possible embodiments, it first cuts out module 304C or second and cuts out module 305C and be configured as: root
Parameter is cut out according to described, the Background part of the picture after the uniform zoom is cut out, and retain the uniform zoom
The foreground picture part of picture afterwards.In an exemplary embodiment of the present invention embodiment, the foreground picture part of picture can be in picture
In be located at main body or close to the people in forward position or the part of object, usually may include the picture main information to be transmitted,
For example, personage, text shown in Figure 1A and icon;The Background part of picture may include rising relative to foreground picture part
White background to the part for setting off, coordinating the effects of tone, such as in Figure 1B.By to foreground picture part and background in picture
The processing respectively of figure part can guarantee that the important foreground information in picture is indeformable, be obviously improved the quality of picture dispensing.
In some possible embodiments, wherein first cuts out module 304C or second and cut out module 305C and be configured
Are as follows: the picture after the uniform zoom is converted into gray scale picture;The gray scale picture is divided into several regions;It calculates every
Conspicuousness parameter in a region;Parameter, the lower one or more regions of removal conspicuousness parameter, to obtain are cut out according to described
There must be corresponding target to launch the picture of size.
In some possible embodiments, wherein the module of cutting out is configured as by calculating image entropy and/or side
Edge detection mode calculates the conspicuousness parameter in each region.
In an exemplary embodiment of the present invention embodiment, module 304C or second is cut out first cut out module 305C to described
When picture after uniform zoom is cut out, the picture after uniform zoom is converted into gray scale picture first;It will be having a size of M × N
Picture be divided into X × Y region, each region width is M/X, a height of N/Y;The conspicuousness parameter for calculating each region, can use
The methods of image entropy, edge detection;If learnt according to parameter is cut out, C pixel need to be punctured in width direction, namely in X
In the subgraph matrix of × Y, every row punctures XC/M region, then chooses XC/M minimum region of accumulative conspicuousness parameter;Together
Reason, if need to cut out in short transverse, can be used similar mode.
In this way, the picture delivery device of embodiment according to the present invention, the picture for enabling user to upload is more easily
Size matching is launched from the standards of different media, so as to being suitable for different media, or can be in the same media
With different target launch size multiple advertisement positions in launched;Multiple figures are converted by the picture for uploading user
The standard-sized picture of piece simultaneously saves, and can call directly when needed, the processing for avoiding repetitive operation, simplifying picture
Process saves time, the efficiency to significantly improve picture processing, launch;By to foreground picture part and back in picture
The processing respectively of scape figure part can guarantee that the important foreground information in picture is indeformable, be obviously improved the quality of picture dispensing.
Example devices
After describing the method and system of exemplary embodiment of the invention, next, introducing according to the present invention
The picture delivery device of another exemplary embodiment.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
In some possible embodiments, picture delivery device according to the present invention can include at least at least one
Manage unit and at least one storage unit.Wherein, the storage unit is stored with program code, when said program code quilt
When the processing unit executes, so that the processing unit executes root described in above-mentioned " illustrative methods " part of this specification
According to the step in the picture put-on method of the various illustrative embodiments of the present invention.For example, the processing unit can execute such as
Step S201 shown in Fig. 2, one group of picture standard size S { S1, S2 ..., Si ..., Sn } is defined, wherein each picture standard
Size S correspond to for picture launch one or more targets launch size M M1, M2 ..., Mi ..., Mn };Step S202,
Receive the normal pictures Pi with picture standard size Si;Step S203, according to the picture standard size Si, it is determining with it is described
The corresponding one or more targets of picture standard size Si launch size Mi;Step S204, there will be picture gauge automatically
The normal pictures Pi of very little Si is converted to one or more dispensing picture Pi ' that size Mi is launched with corresponding target, to carry out
Picture is launched.
The picture delivery device 10 of this embodiment according to the present invention is described referring to Fig. 4.The picture of Fig. 4 is thrown
Putting device 10 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 4, picture delivery device 10 is showed in the form of universal computing device.The component of picture delivery device 10
Can include but is not limited to: at least one above-mentioned processing unit 16, connects not homologous ray group at least one above-mentioned storage unit 28
The bus 18 of part (including storage unit 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.
Storage unit 28 may include the readable medium of form of volatile memory, such as random access memory (RAM)
30 and/or cache memory 32, it can also further read-only memory (ROM) 34.
Storage unit 28 can also include program/utility 40 with one group of (at least one) program module 42, this
The program module 42 of sample includes but is not limited to: operating system, one or more application program, other program modules and program
It may include the realization of network environment in data, each of these examples or certain combination.
Picture delivery device 10 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, the equipment communication that also contact person can be enabled to interact with the picture delivery device 10 with one or more, and/or
It (such as is routed with any equipment for enabling the picture delivery device 10 to be communicated with one or more of the other calculating equipment
Device, modem etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, it is used for picture
The device 10 of dispensing can also pass through network adapter 20 and one or more network (such as local area network (LAN), wide area network
(WAN) and/or public network, for example, internet) communication.As shown, network adapter 20 is by bus 18 and is used for picture
Other modules of the device 10 of dispensing communicate.It should be understood that although not shown in the drawings, can be in conjunction with the device launched for picture
10 use other hardware and/or software module, including but not limited to: microcode, device driver, redundant processing unit, outside
Disk drive array, RAID system, tape drive and data backup storage system etc..
Exemplary process product
In some possible embodiments, various aspects of the invention are also implemented as a kind of shape of program product
Formula comprising program code, when described program product is run in system, said program code is for executing the system
The picture that is used for of various illustrative embodiments is thrown according to the present invention described in above-mentioned " illustrative methods " part of this specification
The step in method put, for example, the system can execute step S201 as shown in Figure 2, define one group of picture standard
Size S { S1, S2 ..., Si ..., Sn }, wherein each picture standard size S corresponds to the one or more launched for picture
Target dispensing size M M1, M2 ..., Mi ..., Mn };Step S202, the normal pictures Pi with picture standard size Si is received;
Step S203, according to the picture standard size Si, one or more mesh corresponding with the picture standard size Si are determined
Mark launches size Mi;Step S204, the normal pictures Pi with picture standard size Si is converted to corresponding mesh automatically
Mark launches the one or more of size Mi and launches picture Pi ', to carry out picture dispensing.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, red
The system of outside line or semiconductor, device or device, or any above combination.The more specific example of readable storage medium storing program for executing
(non exhaustive list) includes: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory
(RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc
Read memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
As shown in figure 5, the program product 90 of embodiment according to the present invention launched for picture is described, it can be with
Using portable compact disc read only memory (CD-ROM) and including program code, and can be in terminal device, such as personal electricity
It is run on brain.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing, which can be, any includes
Or the tangible medium of storage program, which can be commanded execution system, device or device use or in connection make
With.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying
Readable program code.The data-signal of this propagation can take various forms, including --- but being not limited to --- electromagnetism letter
Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be other than readable storage medium storing program for executing it is any can
Read medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or
Program in connection.
The program code for including on readable medium can transmit with any suitable medium, including --- but being not limited to ---
Wirelessly, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can contacted fully
People, which calculates, to be executed in equipment, partly executes in contact person's equipment, executing as an independent software package, partially contacting
People calculates upper side point and executes or execute in remote computing device or server on a remote computing completely.?
It is related in the situation of remote computing device, remote computing device can pass through the network of any kind --- including local area network
(LAN) or wide area network (WAN)-is connected to contact person and calculates equipment, or, it may be connected to external computing device (such as using
ISP is connected by internet).
If it should be noted that although be referred in the above detailed description the equipment for instant messaging application equipment for drying or
Sub-device, but this division is only not enforceable.In fact, embodiment according to the present invention, above-described two
The feature and function of a or more device can embody in one apparatus.Conversely, the feature of an above-described device
It can be to be embodied by multiple devices with further division with function.
In addition, although describing the operation of the method for the present invention in the accompanying drawings with particular order, this do not require that or
Hint must execute these operations in this particular order, or have to carry out shown in whole operation be just able to achieve it is desired
As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one
Step is decomposed into execution of multiple steps.
Although detailed description of the preferred embodimentsthe spirit and principles of the present invention are described by reference to several, it should be appreciated that, this
It is not limited to the specific embodiments disclosed for invention, does not also mean that the feature in these aspects cannot to the division of various aspects
Combination is benefited to carry out, this to divide the convenience merely to statement.The present invention is directed to cover appended claims spirit and
Included various modifications and equivalent arrangements in range.
Claims (16)
1. a kind of picture put-on method, comprising:
One group of picture standard size S { S1, S2 ..., Si ..., Sn } is defined, is used for wherein each picture standard size S corresponds to
Picture launch one or more targets launch size M M1, M2 ..., Mi ..., Mn };
Receive the normal pictures Pi with picture standard size Si;
According to the picture standard size Si, determine that one or more targets corresponding with the picture standard size Si are launched
Size Mi;
Normal pictures Pi with picture standard size Si is converted to one with corresponding target dispensing size Mi automatically
Or multiple dispensing picture Pi ', to carry out picture dispensing,
Wherein, the picture put-on method further include:
By the received normal pictures Pi with picture standard size Si be converted to be respectively provided with picture standard size S S1,
S2 ..., Si ..., Sn } n normal pictures P1, P2 ..., Pi ..., Pn } and save the n normal pictures P1,
P2,…,Pi,…,Pn};
It is determining to launch picture corresponding to size Mj with target in response to launching the request that size Mj carries out picture dispensing with target
Standard size Sj simultaneously obtains corresponding normal pictures Pj;
Normal pictures Pj with picture standard size Sj is converted to the dispensing that size Mj is launched with corresponding target automatically
Picture Pj ', to carry out picture dispensing.
2. according to the method described in claim 1, wherein in response to launching the request that size Mj carries out picture dispensing with target, really
It is fixed to include: with normal pictures Pj corresponding to picture standard size Sj corresponding to target dispensing size Mj and acquisition
It is determining to launch picture corresponding to size Mj with target in response to launching the request that size Mj carries out picture dispensing with target
Standard size Sj;
Judge saved n normal pictures P1, P2 ..., Pi ..., Pn } in whether include that there is picture standard size Sj
Normal pictures Pj;
If saved n normal pictures P1, P2 ..., Pi ..., Pn } in include the standard with picture standard size Sj
Picture Pj obtains the normal pictures Pj;Or
If saved n normal pictures P1, P2 ..., Pi ..., Pn } in do not include the mark with picture standard size Sj
Quasi- picture Pj, by the received normal pictures Pi with picture standard size Si be converted to the mark with picture standard size Sj
Quasi- picture Pj.
3. according to the method described in claim 1, will wherein have the standard-sized normal pictures of picture to be converted to automatically has
The one or more that corresponding target launches size launches pictures
Size is launched according to picture standard size and target, obtains zooming parameter, the zooming parameter includes uniform zoom parameter
With cut out parameter;
According to the uniform zoom parameter, uniform zoom is carried out to the normal pictures, to obtain the picture after uniform zoom;
Parameter is cut out according to described, the picture after the uniform zoom is cut out, to obtain there is corresponding target to launch
The picture of size.
4. according to the method described in claim 1, wherein by the received normal pictures Pi with picture standard size Si turn
Be changed to be respectively provided with picture standard size S S1, S2 ..., Si ..., Sn } n normal pictures P1, P2 ..., Pi ..., Pn }
Include:
Size S { S1, S2 ..., Si ..., Sn } is launched according to picture standard size Si and target, obtains zooming parameter, the contracting
Parameter is put to include uniform zoom parameter and cut out parameter;
According to the uniform zoom parameter, uniform zoom is carried out to the normal pictures Pi, to obtain the picture after uniform zoom;
Parameter is cut out according to described, the picture after the uniform zoom is cut out, there is picture standard size S to obtain
S1, S2 ..., Si ..., Sn } n normal pictures P1, P2 ..., Pi ..., Pn }.
5. the method according to claim 3 or 4, wherein being carried out according to the uniform zoom parameter to the normal pictures
Uniform zoom includes: to obtain the picture after uniform zoom
According to the uniform zoom parameter, using nearest neighbor, bilinear or bibubic method to the standard
Picture carries out uniform zoom.
6. the method according to claim 3 or 4, wherein parameter is cut out according to, to the picture after the uniform zoom
It is cut out and includes:
Parameter is cut out according to described, the Background part of the picture after the uniform zoom is cut out, and is retained described etc.
Than the foreground picture part of the picture after scaling.
7. the method according to claim 3 or 4, wherein parameter is cut out according to, to the picture after the uniform zoom
It is cut out and includes:
Picture after the uniform zoom is converted into gray scale picture;
The gray scale picture is divided into several regions;
Calculate the conspicuousness parameter in each region;
Parameter is cut out according to described, the lower one or more regions of removal conspicuousness parameter have corresponding target to obtain
Launch the picture of size.
8. according to the method described in claim 7, wherein calculating the conspicuousness parameter in each region includes by calculating image
Entropy and/or edge detection mode calculate the conspicuousness parameter in each region.
9. a kind of picture delivery device, comprising:
Size definition module is configured as defining one group of picture standard size S { S1, S2 ..., Si ..., Sn }, wherein each figure
Piece standard size S correspond to for picture launch one or more targets launch size M M1, M2 ..., Mi ..., Mn };
Picture receiving module is configured as receiving the normal pictures Pi with picture standard size Si;
First size determining module is configured as according to the picture standard size Si, the determining and picture standard size Si
Corresponding one or more target launches size Mi;
First picture conversion module, be configured as automatically by the normal pictures Pi with picture standard size Si be converted to have pair
The target answered launches the one or more of size Mi and launches picture Pi ', to carry out picture dispensing,
Wherein, the picture delivery device further include:
Second picture conversion module, be configured as by the received normal pictures Pi with picture standard size Si be converted to point
Not Ju You picture standard size S S1, S2 ..., Si ..., Sn } n normal pictures P1, P2 ..., Pi ..., Pn };
Picture preserving module is configured as saving n standard for being respectively provided with picture standard size { S1, S2 ..., Si ..., Sn }
Picture P1, P2 ..., Pi ..., Pn };
Second size determining module, be configured to respond to target launch size Mj carry out picture dispensing request, determine with
Target launches picture standard size Sj corresponding to size Mj and obtains corresponding normal pictures Pj;
Third picture conversion module, be configured as automatically by the normal pictures Pj with picture standard size Sj be converted to have pair
The target answered launches the dispensing picture Pj ' of size Mj, to carry out picture dispensing.
10. device according to claim 9, wherein the second size determining module is also configured to
It is determining to launch picture corresponding to size Mj with target in response to launching the request that size Mj carries out picture dispensing with target
Standard size Sj;
Judge saved n normal pictures P1, P2 ..., Pi ..., Pn } in whether include that there is picture standard size Sj
Normal pictures Pj;
If saved n normal pictures P1, P2 ..., Pi ..., Pn } in include the standard with picture standard size Sj
Picture Pj obtains the normal pictures Pj;Or
If saved n normal pictures P1, P2 ..., Pi ..., Pn } in do not include the mark with picture standard size Sj
Quasi- picture Pj, trigger the second picture conversion module by received normal pictures Pi with picture standard size Si convert
For the normal pictures Pj with picture standard size Sj.
11. device according to claim 9, wherein the first picture conversion module includes:
First parameter acquisition module is configured as launching size according to picture standard size and target, obtains zooming parameter, described
Zooming parameter includes uniform zoom parameter and cuts out parameter;
First Zoom module, is configured as according to the uniform zoom parameter, uniform zoom is carried out to the normal pictures, to obtain
Picture after obtaining uniform zoom;
First cuts out module, is configured as cutting out parameter according to, is cut out to the picture after the uniform zoom, to obtain
There must be corresponding target to launch the picture of size.
12. device according to claim 9, wherein the second picture conversion module includes:
Second parameter acquisition module, be configured as being launched according to picture standard size Si and target size S S1, S2 ...,
Si ..., Sn }, zooming parameter is obtained, the zooming parameter includes uniform zoom parameter and cuts out parameter;
Second Zoom module, is configured as according to the uniform zoom parameter, carries out uniform zoom to the normal pictures Pi, with
Picture after obtaining uniform zoom;
Second cuts out module, is configured as cutting out parameter according to, is cut out to the picture after the uniform zoom, to obtain
Must have picture standard size S S1, S2 ..., Si ..., Sn } n normal pictures P1, P2 ..., Pi ..., Pn }.
13. device according to claim 11 or 12, wherein the Zoom module is configured as:
According to the uniform zoom parameter, using nearest neighbor, bilinear or bibubic method to the standard
Picture carries out uniform zoom.
14. device according to claim 11 or 12, cuts out module wherein described and is configured as:
Parameter is cut out according to described, the Background part of the picture after the uniform zoom is cut out, and is retained described etc.
Than the foreground picture part of the picture after scaling.
15. device according to claim 11 or 12, cuts out module wherein described and is configured as:
Picture after the uniform zoom is converted into gray scale picture;
The gray scale picture is divided into several regions;
Calculate the conspicuousness parameter in each region;
Parameter is cut out according to described, the lower one or more regions of removal conspicuousness parameter have corresponding target to obtain
Launch the picture of size.
16. device according to claim 15, wherein the module of cutting out is configured as by calculating image entropy and/or side
Edge detection mode calculates the conspicuousness parameter in each region.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610154516.0A CN105761205B (en) | 2016-03-17 | 2016-03-17 | A kind of picture put-on method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610154516.0A CN105761205B (en) | 2016-03-17 | 2016-03-17 | A kind of picture put-on method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105761205A CN105761205A (en) | 2016-07-13 |
CN105761205B true CN105761205B (en) | 2018-12-11 |
Family
ID=56333453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610154516.0A Active CN105761205B (en) | 2016-03-17 | 2016-03-17 | A kind of picture put-on method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105761205B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897903B (en) * | 2017-02-21 | 2022-06-03 | 腾讯科技(深圳)有限公司 | Advertisement processing method and advertisement system |
CN107690087B (en) * | 2017-07-04 | 2019-10-29 | 北京奇艺世纪科技有限公司 | A kind of advertising display area determination method and device |
CN107580244A (en) * | 2017-07-31 | 2018-01-12 | 上海与德科技有限公司 | The method for cutting film source, the equipment and terminal that cut film source |
CN107610677A (en) * | 2017-10-16 | 2018-01-19 | 上海斐讯数据通信技术有限公司 | A kind of method and system that dimension of picture is designed according to display terminal |
CN108419143A (en) * | 2018-05-08 | 2018-08-17 | 多盟睿达科技(中国)有限公司 | A kind of production method and system based on mobile video advertisement |
CN109873922B (en) * | 2019-02-20 | 2021-01-19 | 广州视源电子科技股份有限公司 | Method and device for adjusting overscan parameters, display equipment and storage medium |
CN112766997A (en) * | 2019-11-01 | 2021-05-07 | 百度在线网络技术(北京)有限公司 | Picture delivery method, device, equipment and storage medium |
CN112215648A (en) * | 2020-10-12 | 2021-01-12 | 上海酷量信息技术有限公司 | Picture processing system and method suitable for multiple advertisement platforms |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101685620A (en) * | 2008-09-26 | 2010-03-31 | 鸿富锦精密工业(深圳)有限公司 | Display device capable of adjusting image and image adjusting method |
CN101707748A (en) * | 2009-11-24 | 2010-05-12 | 中兴通讯股份有限公司 | Picture adapting method and server |
CN103914689A (en) * | 2014-04-09 | 2014-07-09 | 百度在线网络技术(北京)有限公司 | Picture cropping method and device based on face recognition |
CN103996186A (en) * | 2014-04-29 | 2014-08-20 | 小米科技有限责任公司 | Image cutting method and image cutting device |
CN104392202A (en) * | 2014-10-11 | 2015-03-04 | 北京中搜网络技术股份有限公司 | Image-identification-based automatic cutting method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8483513B2 (en) * | 2010-01-22 | 2013-07-09 | Corel Corporation, Inc. | Method of content aware image resizing |
-
2016
- 2016-03-17 CN CN201610154516.0A patent/CN105761205B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101685620A (en) * | 2008-09-26 | 2010-03-31 | 鸿富锦精密工业(深圳)有限公司 | Display device capable of adjusting image and image adjusting method |
CN101707748A (en) * | 2009-11-24 | 2010-05-12 | 中兴通讯股份有限公司 | Picture adapting method and server |
CN103914689A (en) * | 2014-04-09 | 2014-07-09 | 百度在线网络技术(北京)有限公司 | Picture cropping method and device based on face recognition |
CN103996186A (en) * | 2014-04-29 | 2014-08-20 | 小米科技有限责任公司 | Image cutting method and image cutting device |
CN104392202A (en) * | 2014-10-11 | 2015-03-04 | 北京中搜网络技术股份有限公司 | Image-identification-based automatic cutting method |
Also Published As
Publication number | Publication date |
---|---|
CN105761205A (en) | 2016-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105761205B (en) | A kind of picture put-on method and device | |
CN109377987B (en) | Interaction method, device, equipment and storage medium between intelligent voice equipment | |
CN104700836B (en) | A kind of audio recognition method and system | |
CN110333836B (en) | Information screen projection method and device, storage medium and electronic device | |
CN108924662A (en) | A kind of even wheat interactive approach, device, equipment and storage medium | |
CN109145970B (en) | Image-based question and answer processing method and device, electronic equipment and storage medium | |
CN107864358A (en) | A kind of shared object operating method in video calling | |
CN104253910A (en) | Interaction method and interaction system for voice service calls | |
CN110852332A (en) | Training sample generation method and device, storage medium and electronic equipment | |
WO2020062494A1 (en) | Image processing method and apparatus | |
US20230285854A1 (en) | Live video-based interaction method and apparatus, device and storage medium | |
CN110601933A (en) | Control method, device and equipment of Internet of things equipment and storage medium | |
CN110263218A (en) | Video presentation document creation method, device, equipment and medium | |
CN110727775B (en) | Method and apparatus for processing information | |
CN109145164A (en) | Data processing method, device, equipment and medium | |
US20160125325A1 (en) | Search recommendation method and apparatus | |
CN113315924A (en) | Image special effect processing method and device | |
CN107862035A (en) | Network read method, device, Intelligent flat and the storage medium of minutes | |
CN110971983B (en) | Video question answering method, equipment and storage medium | |
CN110635995A (en) | Method, device and system for realizing interaction between users | |
CN113986018B (en) | Vision impairment auxiliary reading and learning method and system based on intelligent glasses and storage medium | |
CN109587344A (en) | Call control method, device, mobile terminal and medium based on mobile terminal | |
CN107484006A (en) | A kind of interface processing method, set top box and storage medium | |
CN114024929A (en) | Voice message processing method and device, electronic equipment and medium | |
CN108924182B (en) | Text information sending method and device in virtual reality scene |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |