CN105761205A - Picture delivery method and device - Google Patents

Picture delivery method and device Download PDF

Info

Publication number
CN105761205A
CN105761205A CN201610154516.0A CN201610154516A CN105761205A CN 105761205 A CN105761205 A CN 105761205A CN 201610154516 A CN201610154516 A CN 201610154516A CN 105761205 A CN105761205 A CN 105761205A
Authority
CN
China
Prior art keywords
picture
size
standard size
normal pictures
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610154516.0A
Other languages
Chinese (zh)
Other versions
CN105761205B (en
Inventor
赵伟男
白静
唐翠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NET EASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co Ltd
Netease Youdao Information Technology Beijing Co Ltd
Original Assignee
NET EASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NET EASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co Ltd filed Critical NET EASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co Ltd
Priority to CN201610154516.0A priority Critical patent/CN105761205B/en
Publication of CN105761205A publication Critical patent/CN105761205A/en
Application granted granted Critical
Publication of CN105761205B publication Critical patent/CN105761205B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4007Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a picture delivery method and device. The method comprises: defining the standard size S {S1,S2, ...,Si, ...,Sn} of a set of pictures, wherein the standard size S of each picture corresponds to one or more than one target delivery size M{M1,M2, ...,Mi, ...,Mn} used for picture delivery; receiving a standard picture Pi with a picture standard size Si; according to the picture standard size Si, determining one or more than one target delivery size Mi corresponding to the picture standard size Si according to the picture standard size Si; and automatically converting the standard picture Pi with a picture standard size Si into one or more than one delivery picture Pi' having corresponding target delivery size Mi so as to perform picture delivery.

Description

A kind of picture put-on method and device
Technical field
Embodiments of the present invention relate to the communications field, more specifically, embodiments of the present invention relate to picture put-on method and device.
Background technology
This part is it is intended that the embodiments of the present invention stated in claims provide background or context.Description herein is not because including just admitting in this part to be prior art.
Along with the development of communication technology, increasing user carries out picture input by the media based on the Internet, for instance user carries out the input of advertising pictures by advertisement delivery system to each media.In traditional advertising pictures is thrown in, the target for throwing in advertisement that first advertisement delivery system records required by each media throws in size;When user require over this advertisement delivery system throw in advertisement to certain media time, need to this advertisement delivery system upload with these media required for the target of advertisement throw in the picture that strictly mates of size;Do not mate if the target of the advertisement required for the picture uploaded and these media throws in size, advertisement delivery system needs the picture uploaded is processed, such as, linear scale, edge cutting or filling etc., the target to be converted to the advertisement required for these media throws in size.
But, strictly mate if the target required for requiring the picture uploaded and each media throws in size, then need advertisement delivery system to throw in size according to target needed for each media and make the picture strictly mated respectively, it is necessary to a lot of time, manpower.The target of the advertisement required for the picture uploaded and media to be put throws in size when not mating, if processing picture by linear scale method, the obvious object in picture may be made to be deformed into the degree being difficult to recognize, and process picture by edge cutting fill method, then it is likely to crop the important information of image edge, such as brand footmark, it is unfavorable for the understanding to image, greatly reduces the experience of end product.
Summary of the invention
Because of in picture jettison system of the prior art, in picture launch process, the target required for each media is thrown in size and is respectively arranged with difference, when throwing in advertising pictures to different media, need to upload with each media required for target throw in the picture that strictly mates of size, it is necessary to a lot of time, manpowers.Or, the target of the advertisement required for the picture uploaded and media throws in size when not mating, if processing picture by linear scale method, the obvious object in picture can be made to be deformed into the degree being difficult to recognize, and process picture by edge cutting fill method, then it is likely to crop the important information of image edge, such as footmark, it 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 are experienced not good, and waste of manpower, to throw in efficiency low, picture deformation after process is even difficult to recognize, being also possible to crop important information, greatly reduce the experience of end product, this is very bothersome process.
For this, it is highly desirable to picture put-on method and the device of a kind of improvement, enable the picture that user uploads to throw in size coupling from the standard of different media more easily it is thus possible to be applicable to different media, or can the multiple advertisement positions with different target input size in same media be thrown in;It is converted into the standard-sized picture of multiple picture by picture user uploaded and preserves, can directly invoke when needs, it is to avoid repetitive operation, simplifying the handling process of picture, saving the time thus significantly improving the efficiency of picture processing, input;By the process respectively to foreground picture part in picture and Background part, it is possible to ensure that the important foreground information in picture is indeformable, be obviously improved the quality that picture is thrown in.
In the present context, embodiments of the present invention expectation provides a kind of picture put-on method and device.
In the first aspect of embodiment of the present invention, it is provided that a kind of picture put-on method, including: define one group of picture standard size S{S1, S2 ..., Si, ..., Sn}, wherein each picture standard size S throws in size M{M1, M2 corresponding to the one or more targets thrown in for picture, ..., Mi ..., Mn};Receive the normal pictures Pi with picture standard size Si;According to described picture standard size Si, it is determined that the one or more targets corresponding with described picture standard size Si throw in size Mi;Automatically the normal pictures Pi with picture standard size Si is converted to the target with correspondence and throws in one or more input picture Pi ' of size Mi, to carry out picture input.
According to the picture put-on method in the above-mentioned embodiment of the present invention, wherein calculate the described significance parameter that the significance parameter in each region includes calculating in each region by calculating image entropy and/or rim detection mode.
In the second aspect of embodiment of the present invention, it is provided that a kind of picture delivery device, including: size definition module, it is configured to definition one group of picture standard size S{S1, S2 ..., Si ..., Sn}, wherein each picture standard size S throws in size M{M1 corresponding to the one or more targets thrown in for picture, M2 ..., Mi, ..., Mn};Picture receiver module, is configured to receive the normal pictures Pi with picture standard size Si;First size determines module, is configured to according to described picture standard size Si, it is determined that the one or more targets corresponding with described picture standard size Si throw in size Mi;First picture modular converter, is configured to that the normal pictures Pi with picture standard size Si is converted to the target with correspondence automatically and throws in one or more input picture Pi ' of size Mi, to carry out picture input.
According to the picture delivery device in the above-mentioned embodiment of the present invention, also include: second picture modular converter, be configured to be converted to the normal pictures Pi with picture standard size Si received be respectively provided with picture standard size S{S1, S2, ..., Si ..., n the normal pictures { P1 of Sn}, P2 ..., Pi, ..., Pn};Second size determines module, is configured to respond to throw in size Mj with target and carries out the request of picture input, it is determined that throws in the picture standard size Sj corresponding to size Mj with target and obtain corresponding normal pictures Pj;3rd picture modular converter, is configured to that the normal pictures Pj with picture standard size Sj is converted to the target with correspondence automatically and throws in the input picture Pj ' of size Mj, to carry out picture input.
According to the picture delivery device in the above-mentioned embodiment of the present invention, also include: picture preserves module, be configured to preservation be respectively provided with picture standard size S1, S2 ..., Si ..., n the normal pictures of Sn} P1, P2 ..., Pi ..., Pn}.
According to the picture delivery device in the above-mentioned embodiment of the present invention, wherein said second size determines that module is also configured in response to the request carrying out picture input with target input size Mj, it is determined that throw in the picture standard size Sj corresponding to size Mj with target;Judge preserve n normal pictures P1, P2 ..., Pi ..., whether Pn} includes the normal pictures Pj with picture standard size Sj;If n the normal pictures preserved P1, P2 ..., Pi ..., Pn} includes the normal pictures Pj with picture standard size Sj, obtains described normal pictures Pj;If or n the normal pictures { P1 preserved, P2, ..., Pi, ..., Pn} does not include the normal pictures Pj with picture standard size Sj, triggers described second picture modular converter and the normal pictures Pi with picture standard size Si received is converted to the normal pictures Pj with picture standard size Sj.
According to the picture delivery device in the above-mentioned embodiment of the present invention, wherein said first picture modular converter includes: the first parameter acquisition module, it is configured to throw in size according to picture standard size and target, it is thus achieved that zooming parameter, described zooming parameter includes uniform zoom parameter and cuts out parameter;First Zoom module, is configured to, according to described uniform zoom parameter, described normal pictures be carried out uniform zoom, to obtain the picture after uniform zoom;First cuts out module, is configured to described in basis and cuts out parameter, the picture after described uniform zoom is cut out, to obtain the picture of the target input size with correspondence.
According to the picture delivery device in the above-mentioned embodiment of the present invention, wherein said second picture modular converter includes: the second parameter acquisition module, it is configured to throw in size S{S1 according to picture standard size Si and target, S2 ..., Si, ..., Sn}, it is thus achieved that zooming parameter, described zooming parameter includes uniform zoom parameter and cuts out parameter;Second Zoom module, is configured to, according to described uniform zoom parameter, described normal pictures Pi be carried out uniform zoom, to obtain the picture after uniform zoom;Second cuts out module, be configured to according to described in cut out parameter, the picture after described uniform zoom is cut out, to obtain, there is picture standard size S{S1, S2 ..., Si ..., n the normal pictures of Sn} P1, P2 ..., Pi ..., Pn}.
According to the picture delivery device in the above-mentioned embodiment of the present invention, wherein said Zoom module is configured to: according to described uniform zoom parameter, and described normal pictures is carried out uniform zoom by nearestneighbor, bilinear or bibubic method of use.
According to the picture delivery device in the above-mentioned embodiment of the present invention, wherein said module of cutting out is configured to: cut out parameter according to described, the Background part of the picture after described uniform zoom is cut out, and retains the foreground picture part of the picture after described uniform zoom.
According to the picture delivery device in the above-mentioned embodiment of the present invention, wherein said module of cutting out is configured to: the picture after described uniform zoom is converted to gray scale picture;Described gray scale picture is divided into several regions;Calculate the significance parameter in each region;According to described parameter of cutting out, remove one or more regions that significance parameter is relatively low, to obtain the picture of the target input size with correspondence.
According to the picture delivery device in the above-mentioned embodiment of the present invention, wherein said module of cutting out is configured to calculate image entropy and/or the rim detection mode described significance parameter to calculate in each region.
Picture put-on method according to embodiment of the present invention and device, enable the picture that user uploads to throw in size coupling from the standard of different media more easily it is thus possible to be applicable to different media, or can the multiple advertisement positions with different target input size in same media be thrown in;It is converted into the standard-sized picture of multiple picture by picture user uploaded and preserves, can directly invoke when needs, it is to avoid repetitive operation, simplifying the handling process of picture, saving the time thus significantly improving the efficiency of picture processing, input;By the process respectively to foreground picture part in picture and Background part, it is possible to ensure that the important foreground information in picture is indeformable, be obviously improved the quality that picture is thrown in.
Accompanying drawing explanation
Reading detailed description below by reference accompanying drawing, above-mentioned and other purposes of exemplary embodiment of the invention, feature and advantage will become prone to understand.In the accompanying drawings, illustrate some embodiments of the present invention by way of example, and not by way of limitation, wherein:
Figure 1A and Figure 1B schematically shows the application scenarios according to embodiment of the present invention;
Fig. 2 schematically shows the schematic flow sheet of the picture put-on method according to embodiment of the present invention;
Fig. 3 schematically shows the schematic diagram of the picture delivery device according to embodiment of the present invention;
Fig. 4 schematically shows the schematic diagram of the picture delivery device according to another embodiment of the present invention;And
Fig. 5 schematically shows the program product thrown in for picture according to another embodiment of the present invention.
In the accompanying drawings, identical or corresponding label represents identical or corresponding part.
Detailed description of the invention
Principles of the invention and spirit are described below with reference to some illustrative embodiments.Should be appreciated that providing these embodiments is only used to make those skilled in the art better understood when and then realize the present invention, and the scope being not intended to limit the present invention in any manner.On the contrary, it is provided that these embodiments are to make the disclosure more thorough and complete, and the scope of the present disclosure can intactly convey to those skilled in the art.
Art technology skilled artisan knows that, embodiments of the present invention can be implemented as a kind of system, device, equipment, method or computer program.Therefore, the disclosure can be implemented as following form, it may be assumed that the form that hardware, completely software (including firmware, resident software, microcode etc.), or hardware and software completely combines.
According to the embodiment of the present invention, it is proposed that a kind of for picture put-on method and device.
In this article, it is to be understood that any number of elements in accompanying drawing is all unrestricted for example, and any name is only used for distinguishing, and does not have any limitation.
Below with reference to some representative embodiments of the present invention, explaination principles of the invention and spirit in detail.
Summary of the invention
The inventors discovered that, throw in size according to the different target of multiple media and define one group of picture standard size;Upload and receive and there is the standard-sized picture of picture, again the picture uploaded is processed, such as by based on cutting and the mode filling non-key background area, the picture uploaded can be carried out automatic adaptation, the target that picture is converted to media to be needed throws in size, high-quality display advertising is obtained after Intelligent treatment, thus can pass through only to upload a pictures and just be adapted to the multiple different targets input size required for multiple media, significantly improve the input efficiency of picture, manpower and time are saved, can better improve the Consumer's Experience of advertisement delivery system;Meanwhile, by the process respectively of foreground and background information in picture, it is possible to ensure that the important foreground information in picture is indeformable, be obviously improved the quality that picture is thrown in.
After the ultimate principle describing the present invention, introduce the various non-limiting embodiment of the present invention in detail below.
Application scenarios overview
With reference first to Figure 1A and 1B, throw in the schematic diagram of picture for some.When user requires over the input that advertisement delivery system carries out advertising pictures to certain media, need first to upload the picture to be put being of a size of A to advertisement delivery system, for instance as shown in Figure 1A.According to the user-selected media throwing in picture, advertisement delivery system obtains the target required by these media and throws in size B.Then, advertisement delivery system is converted to the picture of target input size B by uploading the picture to be put being of a size of A, as shown in Figure 1B, such as, by the foreground part of the picture uploaded and background parts are respectively processed, the important information making foreground part is indeformable, do not lose, thus being thrown in selected media by the picture after conversion.
It will be understood by those skilled in the art that the schematic diagram shown in Figure 1A and 1B is only the example that embodiments of the present invention can be achieved wherein.The scope of application of embodiment of the present invention is unrestricted.
Illustrative methods
Below in conjunction with the application scenarios of Figure 1A and 1B, it is described with reference to Figure 2 the picture put-on method according to exemplary embodiment of the invention.It should be noted that above-mentioned application scenarios is for only for ease of the spirit and principle of understanding the present invention and illustrates, embodiments of the present invention are unrestricted in this regard.On the contrary, embodiments of the present invention can apply to any scene of being suitable for.
Fig. 2 schematically shows the schematic flow sheet of the picture put-on method 200 according to embodiment of the present invention.As in figure 2 it is shown, the method 200 may include that
S201, define one group of picture standard size S{S1, S2 ..., Si ..., Sn}, wherein each picture standard size S throws in size M{M1, M2 corresponding to the one or more targets thrown in for picture ..., Mi ..., Mn}.
In the embodiment that some are possible, the picture put-on method of the embodiment of the present invention may be used for the input of advertising pictures, and the input of advertising pictures is a kind of adline utilizing picture advertisement information, is a kind of important form of Internet advertising input.Advertising pictures throws in the information being user needs transmission with the form of directly perceived, colored, the picture of comparative, advertisement delivery system throw in media, then is issued to the public by media, therefore has very strong readability, transitivity.
In the embodiment that some are possible, the advertisement delivery system of the embodiment of the present invention can be the individuality (or system) that the picture that user is uploaded makes, processes, for instance have intelligence to select.Alternatively, user can be through advertisement delivery system and carries out the individuality of advertising pictures input, for instance certain motor corporation.
In the embodiment that some are possible, the media of the embodiment of the present invention can be to the transmitting carrier of public's releasing advertisements according to the picture after being processed by advertisement delivery system, for instance Netease's news.
The illustrative embodiments of the present invention will be described in detail below with the input of advertising pictures.It should be understood that, the input of advertising pictures is only an exemplary embodiment of the present invention, and should not be construed as limitation of the present invention, the present invention may be used for other aspects, as carried out the input of picture in the various media such as newpapers and periodicals, magazine, poster, TV programme, video.
In the embodiment that some are possible, different media there may be various size requirement for the picture carrying out throwing in, namely, the target that the picture carrying out throwing in need to be converted to different media each required throws in size, could throw in these media, and for same media, it may have multiple advertisement positions that different target throws in size, that be used for throwing in picture.In order to enable the picture that user uploads to throw in size coupling from the standard of different media it is thus possible to be applicable to different media more easily, or can the multiple advertisement positions with different target input size in same media be thrown in, one group of intermediate sizes can be defined, i.e. picture standard size S{S1, S2 ..., Si, ..., Sn}.Alternatively, this picture standard size S{S1, S2, ..., Si, ..., Sn} can be the media having selected with user to throw in, or the target of the media that future may select throws in size M{M1, M2, ..., Mi, ..., Mn} is corresponding, it can be that the target according to different media is thrown in size and defined, can be that the different target required by different advertisement positions multiple in same media is thrown in size and defined, can be defined according to long-term advertisement putting experience by advertisement delivery system, be frequently used the one group of picture that can be through market survey and obtain is thrown in size and is defined, can also be defined by other any suitable modes.
Such as, if user (such as certain motor corporation) wishes to throw in picture to Netease's news, Netease's news can have n different advertisement position, throws in size M{M1 corresponding to n different target, M2, ..., Mi ..., Mn}, so, when throwing in if carried out picture, advertisement delivery system (such as has intelligence to select) needs the target that picture user uploaded is converted to Netease's news to throw in size;In order to enable picture that user uploads to throw in size coupling from the various targets of Netease news more easily, to adapt to multiple different advertisement positions in Netease's news, or throw in size with the target of other media and mate it is thus possible to be applicable to other media, one group of picture standard size S{S1 can be defined, S2, ..., Si, ..., Sn}, wherein, each picture standard size S is that the one or more targets having selected the media (such as Netease's news or other media) to throw in user throw in size M{M1, M2 ..., Mi, ..., Mn} is corresponding.Alternatively, can be that corresponding one or more targets throw in size M close for each picture standard size S, for instance picture standard size Si is 1280 × 520, and its corresponding target throws in size Mi can include 2 × 1,9 × 4 etc..
Step S202, receive there is the normal pictures Pi of picture standard size Si.
In the embodiment that some are possible, if the user desired that throw in advertising pictures by advertisement delivery system to media, in advance dimension of picture can be set to picture standard size Si, and uploaded by user, received the normal pictures Pi with picture standard size Si by advertisement delivery system.
Step S203, according to described picture standard size Si, it is determined that one or more targets corresponding with described picture standard size Si throw in size Mi.
In the embodiment that some are possible, after user uploads and is received the normal pictures Pi with picture standard size Si by advertisement delivery system, the corresponding relation of size is thrown according to picture standard size and target, determine that the one or more targets corresponding with described picture standard size Si throw in size Mi, in order to picture user uploaded through subsequent treatment is thrown on the advertisement position of media meeting target input size Mi.
Alternatively, user is before uploading pictures, can first select the media to throw in, in these media, carry out the target input size Mi of advertisement position and this advertisement position thrown in, then upload the normal pictures Pi throwing in picture standard size Si corresponding for size Mi with target again.Certainly, alternatively, user is before uploading pictures, the target that can select media or advertisement position and this advertisement position to throw in advance throws in size Mi, user can also first upload the normal pictures Pi with picture standard size Si, throw in the corresponding relation of size again according to picture standard size and target by advertisement delivery system, determine that the one or more targets corresponding with described picture standard size Si throw in size Mi, which which throw in size Mi further according to the target determined to select to carry out throwing in or throwing on advertisement position of media on media, namely, the advertisement position of media with standard input size Mi carries out picture input.
Step S204, the automatic target with correspondence that is converted to by the normal pictures Pi with picture standard size Si throw in one or more input picture Pi ' of size Mi, to carry out picture input.
Alternatively, when picture standard size Si is close with target input size Mi, for instance picture standard size Si is 1280 × 520, and it is 2 × 1 that its corresponding target throws in size Mi, and the size conversion of picture can carry out automatically;Alternatively, when automatically carrying out the size conversion of picture, it is also possible in combination with manual adjustments, to improve the quality of picture.
In the embodiment that some are possible, also include: the normal pictures Pi with picture standard size Si received is converted to and is respectively provided with picture standard size S{S1, S2 ..., Si ..., n the normal pictures of Sn} P1, P2 ..., Pi ..., Pn};The request of picture input is carried out, it is determined that throw in the picture standard size Sj corresponding to size Mj with target and obtain corresponding normal pictures Pj in response to throwing in size Mj with target;Automatically the normal pictures Pj with picture standard size Sj is converted to the target with correspondence and throws in the input picture Pj ' of size Mj, to carry out picture input.
As it has been described above, each media there may be different targets for the picture carrying out throwing in throws in size, and for same media, it may have multiple advertisement positions that different target throws in size, that be used for throwing in picture.In order to enable the picture that user uploads to throw in size coupling from the standard of different media it is thus possible to be applicable to different media more easily, or can throw in multiple advertisement positions of size and throw in by the different target that has in same media, it is possible to the standard-sized normal pictures of picture that has received is converted to and has the standard-sized picture of other pictures.Such as, for having the normal pictures Pi of picture standard size Si=1280 × 520, in order to throw in the different media with other targets input size or in the different advertisement positions of same media, first the normal pictures Pi (as shown in Figure 1A) with picture standard size Si=1280 × 520 can be converted to and there is other pictures standard size S{S1, S2, ..., Si ..., n the normal pictures { P1 of Sn}, P2 ..., Pi, ..., Pn}, for instance there is the normal pictures Pj of picture standard size Sj=900 × 520, as shown in Figure 1B;When user wishes to throw in the advertisement position with target input size Mj, such as Mj=3 × 2, the corresponding relation of size M can be thrown according to picture standard size S and target, determine picture standard size Sj=900 × 520 corresponding to Mj=3 × 2, and obtain corresponding normal pictures Pj;The normal pictures Pj with picture standard size Sj is converted to the target with correspondence and throws in the input picture Pj ' of size Mj, to carry out picture input.
In the embodiment that some are possible, method 200 also includes: preserve be respectively provided with picture standard size S1, S2 ..., Si ..., n the normal pictures of Sn} P1, P2 ..., Pi ..., Pn}.
In some cases, user is likely to be intended merely to carry out picture input on the particular advertisement position of certain media at first, accordingly, it is possible to only need the target that the normal pictures Pi with picture standard size Si received is converted to particular advertisement position in these media to throw in size Mi;And in the later stage, user is it may be desirable to throw in the same picture uploaded on other advertisement positions of other media or these media, at this moment, again this normal pictures Pi with picture standard size Si is carried out similar process, namely the size Mj that other advertisement positions with other media or these media mate is converted to, above multiple similar steps can be repeated, add total operating time, reduce the efficiency of picture processing, input.
Therefore, in order to enable the picture that user uploads to throw in size coupling more easily from the standard of different media, it is thus possible to be applicable to different media, or can the multiple advertisement positions with different target input size in same media be thrown in, being converted to by the normal pictures Pi with picture standard size Si, there is other pictures standard size S{S1, S2, ..., Si, ..., n the normal pictures { P1 of Sn}, P2, ..., Pi, ..., after Pn}, this n normal pictures can be preserved, can directly invoke when needs, simplify the handling process of picture, save the time, thus significantly improving picture processing, the efficiency thrown in.
In the embodiment that some are possible, wherein in response to the request carrying out picture input with target input size Mj, determine that the normal pictures Pj corresponding with the picture standard size Sj corresponding to target input size Mj acquisition includes: carry out the request of picture input in response to throwing in size Mj with target, it is determined that throw in the picture standard size Sj corresponding to size Mj with target;Judge preserve n normal pictures P1, P2 ..., Pi ..., whether Pn} includes the normal pictures Pj with picture standard size Sj;If n the normal pictures preserved P1, P2 ..., Pi ..., Pn} includes the normal pictures Pj with picture standard size Sj, obtains described normal pictures Pj;If or n the normal pictures preserved P1, P2 ..., Pi, ..., Pn} does not include the normal pictures Pj with picture standard size Sj, the normal pictures Pi with picture standard size Si received is converted to the normal pictures Pj with picture standard size Sj.
When user's request carries out picture input with target input size Mj, size and the standard-sized corresponding relation of picture first can be thrown according to target, determine and throw in the picture standard size Sj corresponding to size Mj with target, judge n the normal pictures { P1 preserved again, P2 ..., Pi, ..., whether Pn} includes the normal pictures Pj with picture standard size Sj;If it is, normal pictures Pj can be directly invoked, to simplify the handling process of picture, saving time thus significantly improving the efficiency of picture processing, input;If do not included, then according to method described above, the normal pictures Pi with picture standard size Si received can be converted to the normal pictures Pj with picture standard size Sj.
In the embodiment that some are possible, wherein automatically be converted to the target with correspondence and throw in one or more input pictures of size by having the standard-sized normal pictures of picture and include: throw in size according to picture standard size and target, obtaining zooming parameter, described zooming parameter includes uniform zoom parameter and cuts out parameter;According to described uniform zoom parameter, described normal pictures is carried out uniform zoom, to obtain the picture after uniform zoom;Cut out parameter according to described, the picture after described uniform zoom is cut out, to obtain the picture of the target input size with correspondence.
In the embodiment that some are possible, the normal pictures Pi with picture standard size Si received is converted to and is respectively provided with picture standard size S{S1, S2 ..., Si ..., n the normal pictures { P1 of Sn}, P2 ..., Pi, ..., Pn} includes: throw in size S{S1, S2 according to picture standard size Si and target, ..., Si ..., Sn}, it is thus achieved that zooming parameter, described zooming parameter includes uniform zoom parameter and cuts out parameter;According to described uniform zoom parameter, described normal pictures Pi is carried out uniform zoom, to obtain the picture after uniform zoom;Cut out parameter according to described, the picture after described uniform zoom be cut out, to obtain, there is picture standard size S{S1, S2 ..., Si ..., n the normal pictures of Sn} P1, P2 ..., Pi ..., Pn}.
In an exemplary embodiment of the present invention embodiment, when picture is converted to another size B by a size A, size M is thrown in as picture standard size S be converted to target, or be converted to multiple picture standard size S{S1, S2 by a picture standard size Si ..., Si, ..., during Sn}, it is possible to adopt similar method.Such as, when needing the picture that the picture with size A=1200x600 is converted to the size B=600x200 with correspondence, it is possible to first according to size A and size B, it is thus achieved that zooming parameter, described zooming parameter includes uniform zoom parameter and cuts out parameter;According to described uniform zoom parameter, the normal pictures of size A=1200x600 is carried out uniform zoom, respectively reduce 50% by the wide height of picture equal proportion, be of a size of the picture after the uniform zoom of 600x300 with acquisition;Cut out parameter according to described, the picture after being of a size of the uniform zoom of 600x300 is cut out, i.e. on high direction, puncture 100 pixels, obtain the image of size B=600x200.
In the embodiment that some are possible, according to described uniform zoom parameter, described normal pictures is carried out uniform zoom, including with the picture after obtaining uniform zoom: according to described uniform zoom parameter, described normal pictures is carried out uniform zoom by nearestneighbor, bilinear or bibubic method of use.
In the embodiment that some are possible, parameter is cut out according to described, it is cut out including to the picture after described uniform zoom: cut out parameter according to described, the Background part of the picture after described uniform zoom is cut out, and retain the foreground picture part of the picture after described uniform zoom.In an exemplary embodiment of the present invention embodiment, the foreground picture part of picture can be the part being positioned at main body or the people near forward position or thing in picture, it generally can include the main information that this picture to transmit, for instance, the personage shown in Figure 1A, word and icon;The Background part of picture can include playing the part setting off, coordinating the effects such as tone relative to foreground picture part, for instance the white background in Figure 1B.By the process respectively to foreground picture part in picture and Background part, it is possible to ensure that the important foreground information in picture is indeformable, be obviously improved the quality that picture is thrown in.
In the embodiment that some are possible, wherein cut out parameter described in basis, be cut out including to the picture after described uniform zoom: the picture after described uniform zoom is converted to gray scale picture;Described gray scale picture is divided into several regions;Calculate the significance parameter in each region;According to described parameter of cutting out, remove one or more regions that significance parameter is relatively low, to obtain the picture of the target input size with correspondence.
In the embodiment that some are possible, wherein calculate the described significance parameter that the significance parameter in each region includes calculating in each region by calculating image entropy and/or rim detection mode.
In an exemplary embodiment of the present invention embodiment, when the picture after described uniform zoom is cut out, first convert the picture after uniform zoom to gray scale picture;The picture being of a size of M × N is divided into X × Y region, and each region width is M/X, and height is N/Y;Calculate the significance parameter in each region, the described significance parameter in each region can be calculated by the calculating mode such as image entropy and/or rim detection;Learn if according to cut out parameter, C pixel need to be punctured at width, namely in the subgraph matrix of X × Y, each row punctures XC/M region, then choose XC/M the region that accumulative significance parameter is minimum;In like manner, if need to cut out in short transverse, similar mode can be used.
So, picture put-on method according to embodiment of the present invention, enable the picture that user uploads to throw in size coupling from the standard of different media more easily it is thus possible to be applicable to different media, or can the multiple advertisement positions with different target input size in same media be thrown in;It is converted into the standard-sized picture of multiple picture by picture user uploaded and preserves, can directly invoke when needs, it is to avoid repetitive operation, simplifying the handling process of picture, saving the time thus significantly improving the efficiency of picture processing, input;By the process respectively to foreground picture part in picture and Background part, it is possible to ensure that the important foreground information in picture is indeformable, be obviously improved the quality that picture is thrown in.
Example devices
After the method describing exemplary embodiment of the invention, it follows that with reference to the Fig. 3 schematic diagram to the picture delivery device of exemplary embodiment of the invention.
Fig. 3 schematically shows the schematic diagram of the picture delivery device 300 according to embodiment of the present invention.As it is shown on figure 3, this device 300 may include that size definition module 301, picture receiver module 302, first size determine module 303 and the first picture modular converter 304.
As it is shown on figure 3, size definition module 301 is configured to definition one group of picture standard size S{S1, S2 ..., Si ..., Sn}, wherein each picture standard size S throws in size M{M1, M2 corresponding to the one or more targets thrown in for picture ..., Mi ..., Mn};
In the embodiment that some are possible, the picture delivery device of the embodiment of the present invention may be used for the input of advertising pictures, and the input of advertising pictures is a kind of adline utilizing picture advertisement information, is a kind of important form of Internet advertising input.Advertising pictures throws in the information being user needs transmission with the form of directly perceived, colored, the picture of comparative, advertisement delivery system throw in media, then is issued to the public by media, therefore has very strong readability, transitivity.
In the embodiment that some are possible, the advertisement delivery system of the embodiment of the present invention can be the system that the picture that user is uploaded makes, processes, for instance have intelligence to select.Alternatively, user can be through advertisement delivery system and carries out the individuality of advertising pictures input, for instance certain motor corporation.
In the embodiment that some are possible, the media of the embodiment of the present invention can be to the transmitting carrier of public's releasing advertisements according to the picture after being processed by advertisement delivery system, for instance Netease's news.
The illustrative embodiments of the present invention will be described in detail below with the input of advertising pictures.It should be understood that, the input of advertising pictures is only an exemplary embodiment of the present invention, and should not be construed as limitation of the present invention, the present invention may be used for other aspects, as carried out the input of picture in the various media such as newpapers and periodicals, magazine, poster, TV programme, video.
In the embodiment that some are possible, different media there may be various size requirement for the picture carrying out throwing in, namely, the target that the picture carrying out throwing in need to be converted to different media each required throws in size, could throw in these media, and for same media, it may have multiple advertisement positions that different target throws in size, that be used for throwing in picture.In order to enable the picture that user uploads to throw in size coupling from the standard of different media it is thus possible to be applicable to different media more easily, or can the multiple advertisement positions with different target input size in same media be thrown in, one group of intermediate sizes can be defined by size definition module 301, i.e. picture standard size S{S1, S2 ..., Si, ..., Sn}.Alternatively, this picture standard size S{S1, S2, ..., Si, ..., Sn} can be the media having selected with user to throw in, or the target of the media that future may select throws in size M{M1, M2, ..., Mi, ..., Mn} is corresponding, it can be that the target according to different media is thrown in size and defined, can be that the different target required by different advertisement positions multiple in same media is thrown in size and defined, can be defined according to long-term advertisement putting experience by advertisement delivery system, be frequently used the one group of picture that can be through market survey and obtain is thrown in size and is defined, can also be defined by other any suitable modes.
Such as, if user (such as certain motor corporation) wishes to throw in picture to Netease's news, Netease's news can have n different advertisement position, throws in size M{M1 corresponding to n different target, M2, ..., Mi ..., Mn}, so, when throwing in if carried out picture, advertisement delivery system (such as has intelligence to select) needs the target that picture user uploaded is converted to Netease's news to throw in size;Mate to enable picture that user uploads to throw in size with the various targets of Netease news more easily, to adapt to multiple different advertisement positions in Netease's news, or throw in size with the target of other media to mate, it is thus possible to be applicable to other media, one group of picture standard size S{S1 can be defined by size definition module 301, S2, ..., Si, ..., Sn}, wherein, each picture standard size S is that the one or more targets having selected the media (such as Netease's news or other media) to throw in user throw in size M{M1, M2, ..., Mi, ..., Mn} is corresponding.Alternatively, can be that corresponding one or more targets throw in size M close for each picture standard size S, for instance picture standard size Si is 1280 × 520, and its corresponding target throws in size Mi can include 2 × 1,9 × 4 etc..
As it is shown on figure 3, device 300 includes picture receiver module 302, it is configured to receive the normal pictures Pi with picture standard size Si.
In the embodiment that some are possible, if the user desired that throw in advertising pictures by advertisement delivery system to media, in advance dimension of picture can be set to picture standard size Si, and uploaded by user, received the normal pictures Pi with picture standard size Si by picture receiver module 302.
As it is shown on figure 3, device 300 includes first size determines module 303, it is configured to according to described picture standard size Si, it is determined that the one or more targets corresponding with described picture standard size Si throw in size Mi.
In the embodiment that some are possible, after user uploads and is received the normal pictures Pi with picture standard size Si by picture receiver module 302, first size determines that module 303 throws in the corresponding relation of size according to picture standard size and target, determine that the one or more targets corresponding with described picture standard size Si throw in size Mi, in order to picture user uploaded through subsequent treatment is thrown on the advertisement position of media meeting target input size Mi.
Alternatively, user is before uploading pictures, can first select the media to throw in, in these media, carry out the target input size Mi of advertisement position and this advertisement position thrown in, then upload the normal pictures Pi throwing in picture standard size Si corresponding for size Mi with target again.Certainly, alternatively, user is before uploading pictures, the target that can select media or advertisement position and this advertisement position to throw in advance throws in size Mi, user can also first upload the normal pictures Pi with picture standard size Si, determined that module 303 throws in the corresponding relation of size according to picture standard size and target by first size again, determine that the one or more targets corresponding with described picture standard size Si throw in size Mi, which which throw in size Mi further according to the target determined to select to carry out throwing in or throwing on advertisement position of media on media, namely, the advertisement position of media with standard input size Mi carries out picture input.
As it is shown on figure 3, device 300 includes the first picture modular converter 304, it is configured to that automatically the normal pictures Pi with picture standard size Si is converted to the target with correspondence and throws in one or more input picture Pi ' of size Mi, to carry out picture input.
Alternatively, when picture standard size Si is close with target input size Mi, for instance picture standard size Si is 1280 × 520, and it is 2 × 1 that its corresponding target throws in size Mi, and the size conversion of picture can carry out automatically;Alternatively, when automatically carrying out the size conversion of picture, it is also possible in combination with manual adjustments, to improve the quality of picture.
In the embodiment that some are possible, device 300 also includes: second picture modular converter 305, is configured to be converted to the normal pictures Pi with picture standard size Si received be respectively provided with picture standard size S{S1, S2, ..., Si ..., n the normal pictures { P1 of Sn}, P2 ..., Pi, ..., Pn};Second size determines module 306, is configured to respond to throw in size Mj with target and carries out the request of picture input, it is determined that throws in the picture standard size Sj corresponding to size Mj with target and obtain corresponding normal pictures Pj;3rd picture modular converter 307, is configured to that the normal pictures Pj with picture standard size Sj is converted to the target with correspondence automatically and throws in the input picture Pj ' of size Mj, to carry out picture input.
As it has been described above, each media there may be different targets for the picture carrying out throwing in throws in size, and for same media, it may have multiple advertisement positions that different target throws in size, that be used for throwing in picture.In order to enable the picture that user uploads to throw in size coupling from the standard of different media it is thus possible to be applicable to different media more easily, or can throw in multiple advertisement positions of size and throw in by the different target that has in same media, it is possible to the standard-sized normal pictures of picture that has received is converted to and has the standard-sized picture of other pictures.Such as, for having the normal pictures Pi of picture standard size Si=1280 × 520, in order to throw in the different media with other targets input size or in the different advertisement positions of same media, first the normal pictures Pi (as shown in Figure 1A) with picture standard size Si=1280 × 520 can be converted to by second picture modular converter 305 has other pictures standard size S{S1, S2, ..., Si, ..., n the normal pictures { P1 of Sn}, P2, ..., Pi, ..., Pn}, such as there is the normal pictures Pj of picture standard size Sj=900 × 520, as shown in Figure 1B;When user wishes to throw in the advertisement position with target input size Mj, such as Mj=3 × 2, second size determines that module 306 can throw in the corresponding relation of size M according to picture standard size S and target, determine picture standard size Sj=900 × 520 corresponding to Mj=3 × 2, and obtain corresponding normal pictures Pj;The normal pictures Pj with picture standard size Sj is converted to the target with correspondence and throws in the input picture Pj ' of size Mj by the 3rd picture modular converter 307, to carry out picture input.
In the embodiment that some are possible, device 300 also includes: picture preserves module 308, be configured to preservation be respectively provided with picture standard size S1, S2 ..., Si ..., n the normal pictures of Sn} P1, P2 ..., Pi ..., Pn}.
In some cases, user is likely to be intended merely to carry out picture input on the particular advertisement position of certain media at first, accordingly, it is possible to only need the target that the normal pictures Pi with picture standard size Si received is converted to particular advertisement position in these media to throw in size Mi;And in the later stage, user is it may be desirable to throw in the same picture uploaded on other advertisement positions of other media or these media, at this moment, again this normal pictures Pi with picture standard size Si is carried out similar process, namely the size Mj that other advertisement positions with other media or these media mate is converted to, above multiple similar steps can be repeated, add total operating time, reduce the efficiency of picture processing, input.
Therefore, in order to enable the picture that user uploads to throw in size coupling more easily from the standard of different media, it is thus possible to be applicable to different media, or can the multiple advertisement positions with different target input size in same media be thrown in, being converted to by the normal pictures Pi with picture standard size Si, there is other pictures standard size S{S1, S2, ..., Si, ..., n the normal pictures { P1 of Sn}, P2, ..., Pi, ..., after Pn}, picture preserves module 308 and can this n normal pictures be preserved, can directly invoke when needs, simplify the handling process of picture, save the time, thus significantly improving picture processing, the efficiency thrown in.
In the embodiment that some are possible, wherein the second size determines that module 306 is also configured in response to the request carrying out picture input with target input size Mj, it is determined that throw in the picture standard size Sj corresponding to size Mj with target;Judge preserve n normal pictures P1, P2 ..., Pi ..., whether Pn} includes the normal pictures Pj with picture standard size Sj;If n the normal pictures preserved P1, P2 ..., Pi ..., Pn} includes the normal pictures Pj with picture standard size Sj, obtains described normal pictures Pj;If or n the normal pictures { P1 preserved, P2, ..., Pi, ..., Pn} does not include the normal pictures Pj with picture standard size Sj, triggers second picture modular converter 305 and the normal pictures Pi with picture standard size Si received is converted to the normal pictures Pj with picture standard size Sj.
When user's request carries out picture input with target input size Mj, size and the standard-sized corresponding relation of picture first can be thrown according to target, determined that module 306 is determined by the second size and throw in the picture standard size Sj corresponding to size Mj with target, judge n the normal pictures { P1 preserved again, P2 ..., Pi, ..., whether Pn} includes the normal pictures Pj with picture standard size Sj;If it is, normal pictures Pj can be directly invoked, to simplify the handling process of picture, saving time thus significantly improving the efficiency of picture processing, input;If do not included, then can trigger second picture modular converter 305 and the normal pictures Pi with picture standard size Si received is converted to the normal pictures Pj with picture standard size Sj.
In the embodiment that some are possible, wherein the first picture modular converter 304 includes: the first parameter acquisition module 304A, it is configured to throw in size according to picture standard size and target, it is thus achieved that zooming parameter, described zooming parameter includes uniform zoom parameter and cuts out parameter;First Zoom module 304B, is configured to, according to described uniform zoom parameter, described normal pictures be carried out uniform zoom, to obtain the picture after uniform zoom;First cuts out module 304C, is configured to described in basis and cuts out parameter, the picture after described uniform zoom is cut out, to obtain the picture of the target input size with correspondence.
In the embodiment that some are possible, described second picture modular converter 305 includes: the second parameter acquisition module 305A, it is configured to throw in size S{S1 according to picture standard size Si and target, S2 ..., Si, ..., Sn}, it is thus achieved that zooming parameter, described zooming parameter includes uniform zoom parameter and cuts out parameter;Second Zoom module 305B, is configured to, according to described uniform zoom parameter, described normal pictures Pi be carried out uniform zoom, to obtain the picture after uniform zoom;Second cuts out module 305C, be configured to according to described in cut out parameter, the picture after described uniform zoom is cut out, to obtain, there is picture standard size S{S1, S2 ..., Si ..., n the normal pictures of Sn} P1, P2 ..., Pi ..., Pn}.
In an exemplary embodiment of the present invention embodiment, when picture is converted to another size B by a size A, size M is thrown in as picture standard size S be converted to target, or be converted to multiple picture standard size S{S1, S2 by a picture standard size Si ..., Si, ..., during Sn}, it is possible to adopt similar method.Such as, when needing the picture that the picture with size A=1200x600 is converted to the size B=600x200 with correspondence, can first by the first parameter acquisition module 304A or the second parameter acquisition module 305A according to size A and size B, obtaining zooming parameter, described zooming parameter includes uniform zoom parameter and cuts out parameter;By the first Zoom module 304B or the second Zoom module 305B according to described uniform zoom parameter, the normal pictures of size A=1200x600 is carried out uniform zoom, respectively reduce 50% by the wide height of picture equal proportion, be of a size of the picture after the uniform zoom of 600x300 with acquisition;By first cut out module 304C or second cut out module 305C according to described in cut out parameter, the picture after being of a size of the uniform zoom of 600x300 is cut out, i.e. on high direction, puncture 100 pixels, obtain the image of size B=600x200.
In the embodiment that some are possible, the first Zoom module 304B or the second Zoom module 305B is configured to: according to described uniform zoom parameter, and described normal pictures is carried out uniform zoom by nearestneighbor, bilinear or bibubic method of use.
In the embodiment that some are possible, first cuts out module 304C or second cuts out module 305C and is configured to: cut out parameter according to described, the Background part of the picture after described uniform zoom is cut out, and retains the foreground picture part of the picture after described uniform zoom.In an exemplary embodiment of the present invention embodiment, the foreground picture part of picture can be the part being positioned at main body or the people near forward position or thing in picture, it generally can include the main information that this picture to transmit, for instance, the personage shown in Figure 1A, word and icon;The Background part of picture can include playing the part setting off, coordinating the effects such as tone relative to foreground picture part, for instance the white background in Figure 1B.By the process respectively to foreground picture part in picture and Background part, it is possible to ensure that the important foreground information in picture is indeformable, be obviously improved the quality that picture is thrown in.
In the embodiment that some are possible, wherein first cut out module 304C or second and cut out module 305C and be configured to: the picture after described uniform zoom is converted to gray scale picture;Described gray scale picture is divided into several regions;Calculate the significance parameter in each region;According to described parameter of cutting out, remove one or more regions that significance parameter is relatively low, to obtain the picture of the target input size with correspondence.
In the embodiment that some are possible, wherein said module of cutting out is configured to calculate image entropy and/or the rim detection mode described significance parameter to calculate in each region.
In an exemplary embodiment of the present invention embodiment, first cut out module 304C or second cut out module 305C the picture after described uniform zoom is cut out time, first convert the picture after uniform zoom to gray scale picture;The picture being of a size of M × N is divided into X × Y region, and each region width is M/X, and height is N/Y;Calculate the significance parameter in each region, the method such as usable image entropy, rim detection;Learn if according to cut out parameter, C pixel need to be punctured at width, namely in the subgraph matrix of X × Y, each row punctures XC/M region, then choose XC/M the region that accumulative significance parameter is minimum;In like manner, if need to cut out in short transverse, similar mode can be used.
So, picture delivery device according to embodiment of the present invention, enable the picture that user uploads to throw in size coupling from the standard of different media more easily it is thus possible to be applicable to different media, or can the multiple advertisement positions with different target input size in same media be thrown in;It is converted into the standard-sized picture of multiple picture by picture user uploaded and preserves, can directly invoke when needs, it is to avoid repetitive operation, simplifying the handling process of picture, saving the time thus significantly improving the efficiency of picture processing, input;By the process respectively to foreground picture part in picture and Background part, it is possible to ensure that the important foreground information in picture is indeformable, be obviously improved the quality that picture is thrown in.
Example devices
After the method and system describing exemplary embodiment of the invention, it follows that introduce the picture delivery device of the another exemplary embodiment according to the present invention.
Person of ordinary skill in the field is 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 implemented as following form, that is: hardware embodiment, completely Software Implementation (including firmware, microcode etc.) completely, or the embodiment that hardware and software aspect combines, may be collectively referred to as " circuit ", " module " or " system " here.
In the embodiment that some are possible, can at least include at least one processing unit and at least one memory element according to the picture delivery device of the present invention.Wherein, described memory element has program stored therein code, when described program code is performed by described processing unit so that described processing unit performs the step in the picture put-on method according to the various illustrative embodiments of the present invention described in this specification above-mentioned " illustrative methods " part.Such as, described processing unit can perform 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 throws in size M{M1, M2 corresponding to the one or more targets thrown in for picture, ..., Mi ..., Mn};Step S202, receive there is the normal pictures Pi of picture standard size Si;Step S203, according to described picture standard size Si, it is determined that one or more targets corresponding with described picture standard size Si throw in size Mi;Step S204, the automatic target with correspondence that is converted to by the normal pictures Pi with picture standard size Si throw in one or more input picture Pi ' of size Mi, to carry out picture input.
Referring to Fig. 4, the picture delivery device 10 according to the embodiment of the invention is described.The picture delivery device 10 of Fig. 4 is only an example, the function of the embodiment of the present invention and use scope should not brought any restriction.
As shown in Figure 4, picture delivery device 10 shows with the form of universal computing device.The assembly of picture delivery device 10 can include but not limited to: at least one processing unit 16 above-mentioned, at least one memory element 28 above-mentioned, connect different system assembly (including memory element 28 and processing unit 16) bus 18.
Bus 18 represents one or more in a few class bus structures, including memory bus or Memory Controller, peripheral bus, AGP, processor or use any bus-structured local bus in multiple bus structures.
Memory element 28 can include the computer-readable recording medium of form of volatile memory, for instance random access memory (RAM) 30 and/or cache memory 32, it is also possible to read only memory (ROM) 34 further.
Memory element 28 can also include the program/utility 40 with one group of (at least one) program module 42, such program module 42 includes but not limited to: operating system, one or more application program, other program module and routine data, potentially includes the realization of network environment in each or certain combination in these examples.
Picture delivery device 10 can also communicate with one or more external equipments 14 (such as keyboard, sensing equipment, bluetooth equipment etc.), also can make, with one or more, the equipment communication that contact person can be mutual with this picture delivery device 10, and/or can communicate with any equipment (such as router, modem etc.) that other computing equipments one or more communicate with making this picture delivery device 10.This communication can be passed through input/output (I/O) interface 22 and carry out.Further, the device 10 thrown in for picture can also pass through network adapter 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, for instance the Internet) communication.As it can be seen, network adapter 20 is communicated with other module of the device 10 thrown in for picture by bus 18.It is understood that, although not shown in, other hardware and/or software module can be used in conjunction with the device 10 thrown in for picture, include but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Exemplary process product
In the embodiment that some are possible, various aspects of the invention are also implemented as the form of a kind of program product, it includes program code, when described program product runs in system, described program code is used for making described system perform the step being used in the method that picture is thrown according to the various illustrative embodiments of the present invention described in this specification above-mentioned " illustrative methods " part, such as, described system can perform 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 throws in size M{M1 corresponding to the one or more targets thrown in for picture, M2, ..., Mi, ..., Mn};Step S202, receive there is the normal pictures Pi of picture standard size Si;Step S203, according to described picture standard size Si, it is determined that one or more targets corresponding with described picture standard size Si throw in size Mi;Step S204, the automatic target with correspondence that is converted to by the normal pictures Pi with picture standard size Si throw in one or more input picture Pi ' of size Mi, to carry out picture input.
Described program product can adopt the combination in any of one or more computer-readable recording medium.Computer-readable recording medium can be readable signal medium or readable storage medium storing program for executing.Readable storage medium storing program for executing such as can be but not limited to the system of electricity, magnetic, optical, electromagnetic, infrared ray or quasiconductor, device or device or arbitrarily above combination.The example more specifically (non exhaustive list) of readable storage medium storing program for executing includes: have the combination of the electrical connection of one or more wire, portable disc, hard disk, random access memory (RAM), read only memory (ROM), erasable type programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate.
As shown in Figure 5, describe the program product 90 thrown in for picture according to the embodiment of the present invention, it can adopt portable compact disc read only memory (CD-ROM) and include program code, it is possible at terminal unit, for instance run in PC.But, the program product of the present invention is not limited to this, and in this document, readable storage medium storing program for executing can be any tangible medium comprised or store program, and this program can be commanded execution system, device or device and use or in connection.
The data signal that readable signal medium can include in a base band or propagate as a carrier wave part, wherein carries readable program code.The data signal of this propagation can take various forms, and includes but not limited to the combination of electromagnetic signal, optical signal or above-mentioned any appropriate.Readable signal medium can also is that any computer-readable recording medium beyond readable storage medium storing program for executing, and this computer-readable recording medium can send, propagate or transmit for by instruction execution system, device or device use or program in connection.
The program code comprised on computer-readable recording medium with any suitable medium transmission, can include but not limited to wireless, wired, optical cable, RF etc. or the combination of above-mentioned any appropriate.
The program code for performing present invention operation can be write with the combination in any of one or more programming languages, described programming language includes object oriented program language such as Java, C++ etc., also includes process type programming language such as " C " language or similar programming language of routine.Program code fully can perform on contact person's computing equipment, partly performs on contact person's equipment, performs as an independent software kit, partly partly perform on a remote computing on contact person's computing equipment or perform in remote computing device or server completely.In the situation relating to remote computing device, remote computing device can include LAN (LAN) by the network of any kind or wide area network (WAN) is connected to contact person's computing equipment, or, it may be connected to external computing device (such as utilizes ISP to pass through Internet connection).
Although it should be noted that, be referred to the some devices of equipment for instant messaging application or sub-device in above-detailed, but this division is only not enforceable.It practice, according to the embodiment of the present invention, the feature of two or more devices above-described and function can embody in one apparatus.Otherwise, the feature of an above-described device and function can Further Division for be embodied by multiple devices.
Although additionally, describe the operation of the inventive method in the accompanying drawings with particular order, but, this does not require that or implies and must operate to perform these according to this particular order, or having to carry out all shown operation could realize desired result.Additionally or alternatively, it is convenient to omit some step, multiple steps are merged into a step and performs, and/or a step is decomposed into the execution of multiple step.
Although describe spirit and the principle of the present invention by reference to some detailed description of the invention, however, it should be understood that, the present invention is not limited to disclosed detailed description of the invention, the division of each side is not meant that the feature in these aspects can not combine to be benefited yet, this division merely to statement convenience.It is contemplated that contain various amendments included in the spirit and scope of claims and equivalent arrangements.

Claims (10)

1. a picture put-on method, including:
Define one group of picture standard size S{S1, S2 ..., Si ..., Sn}, wherein each picture standard size S throws in size M{M1, M2 corresponding to the one or more targets thrown in for picture ..., Mi ..., Mn};
Receive the normal pictures Pi with picture standard size Si;
According to described picture standard size Si, it is determined that the one or more targets corresponding with described picture standard size Si throw in size Mi;
Automatically the normal pictures Pi with picture standard size Si is converted to the target with correspondence and throws in one or more input picture Pi ' of size Mi, to carry out picture input.
2. method according to claim 1, also includes:
The normal pictures Pi with picture standard size Si received is converted to and is respectively provided with picture standard size S{S1, S2 ..., Si ..., n the normal pictures of Sn} P1, P2 ..., Pi ..., Pn};
The request of picture input is carried out, it is determined that throw in the picture standard size Sj corresponding to size Mj with target and obtain corresponding normal pictures Pj in response to throwing in size Mj with target;
Automatically the normal pictures Pj with picture standard size Sj is converted to the target with correspondence and throws in the input picture Pj ' of size Mj, to carry out picture input.
3. method according to claim 2, also includes:
Preservation be respectively provided with picture standard size S1, S2 ..., Si ..., n the normal pictures of Sn} P1, P2 ..., Pi ..., Pn}.
4. method according to claim 3, wherein in response to the request carrying out picture input with target input size Mj, it is determined that throw in the picture standard size Sj corresponding to size Mj with target and the normal pictures Pj corresponding to acquisition includes:
The request of picture input is carried out, it is determined that throw in the picture standard size Sj corresponding to size Mj with target in response to throwing in size Mj with target;
Judge preserve n normal pictures P1, P2 ..., Pi ..., whether Pn} includes the normal pictures Pj with picture standard size Sj;
If n the normal pictures preserved P1, P2 ..., Pi ..., Pn} includes the normal pictures Pj with picture standard size Sj, obtains described normal pictures Pj;Or
If n the normal pictures preserved P1, P2 ..., Pi ..., Pn} does not include the normal pictures Pj with picture standard size Sj, the normal pictures Pi with picture standard size Si received is converted to the normal pictures Pj with picture standard size Sj.
5. method according to claim 1, is wherein automatically converted to the target with correspondence and throws in one or more input pictures of size by having the standard-sized normal pictures of picture and include:
Throwing in size according to picture standard size and target, it is thus achieved that zooming parameter, described zooming parameter includes uniform zoom parameter and cuts out parameter;
According to described uniform zoom parameter, described normal pictures is carried out uniform zoom, to obtain the picture after uniform zoom;
Cut out parameter according to described, the picture after described uniform zoom is cut out, to obtain the picture of the target input size with correspondence.
6. method according to claim 2, is wherein converted to the normal pictures Pi with picture standard size Si received and is respectively provided with picture standard size S{S1, S2 ..., Si ..., n the normal pictures of Sn} P1, P2 ..., Pi ..., Pn} includes:
Size S{S1, S2 is thrown according to picture standard size Si and target ..., Si ..., Sn}, it is thus achieved that zooming parameter, described zooming parameter includes uniform zoom parameter and cuts out parameter;
According to described uniform zoom parameter, described normal pictures Pi is carried out uniform zoom, to obtain the picture after uniform zoom;
Cut out parameter according to described, the picture after described uniform zoom be cut out, to obtain, there is picture standard size S{S1, S2 ..., Si ..., n the normal pictures of Sn} P1, P2 ..., Pi ..., Pn}.
7. the method according to claim 5 or 6, wherein according to described uniform zoom parameter, carries out uniform zoom to described normal pictures, includes with the picture after obtaining uniform zoom:
According to described uniform zoom parameter, described normal pictures is carried out uniform zoom by nearestneighbor, bilinear or bibubic method of use.
8. the method according to claim 5 or 6, wherein cuts out parameter described in basis, is cut out including to the picture after described uniform zoom:
Cut out parameter according to described, the Background part of the picture after described uniform zoom is cut out, and retain the foreground picture part of the picture after described uniform zoom.
9. the method according to claim 5 or 6, wherein cuts out parameter described in basis, is cut out including to the picture after described uniform zoom:
Picture after described uniform zoom is converted to gray scale picture;
Described gray scale picture is divided into several regions;
Calculate the significance parameter in each region;
According to described parameter of cutting out, remove one or more regions that significance parameter is relatively low, to obtain the picture of the target input size with correspondence.
10. a picture delivery device, including:
Size definition module, is configured to definition one group of picture standard size S{S1, S2 ..., Si ..., Sn}, wherein each picture standard size S throws in size M{M1, M2 corresponding to the one or more targets thrown in for picture ..., Mi ..., Mn};
Picture receiver module, is configured to receive the normal pictures Pi with picture standard size Si;
First size determines module, is configured to according to described picture standard size Si, it is determined that the one or more targets corresponding with described picture standard size Si throw in size Mi;
First picture modular converter, is configured to that the normal pictures Pi with picture standard size Si is converted to the target with correspondence automatically and throws in one or more input picture Pi ' of size Mi, to carry out picture input.
CN201610154516.0A 2016-03-17 2016-03-17 A kind of picture put-on method and device Active CN105761205B (en)

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 true CN105761205A (en) 2016-07-13
CN105761205B 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)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897903A (en) * 2017-02-21 2017-06-27 腾讯科技(深圳)有限公司 Advertisement processing method and ad system
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
CN107690087A (en) * 2017-07-04 2018-02-13 北京奇艺世纪科技有限公司 A kind of advertising display area determination method and device
CN108419143A (en) * 2018-05-08 2018-08-17 多盟睿达科技(中国)有限公司 A kind of production method and system based on mobile video advertisement
CN109873922A (en) * 2019-02-20 2019-06-11 广州视源电子科技股份有限公司 Method and device for adjusting overscan parameters, display equipment and storage medium
CN112215648A (en) * 2020-10-12 2021-01-12 上海酷量信息技术有限公司 Picture processing system and method suitable for multiple advertisement platforms
CN112766997A (en) * 2019-11-01 2021-05-07 百度在线网络技术(北京)有限公司 Picture delivery method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
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
US20140023293A1 (en) * 2010-01-22 2014-01-23 Corel Corporation, Inc. Method of content aware image resizing
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
US20140023293A1 (en) * 2010-01-22 2014-01-23 Corel Corporation, Inc. Method of content aware image resizing
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

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897903A (en) * 2017-02-21 2017-06-27 腾讯科技(深圳)有限公司 Advertisement processing method and ad system
CN106897903B (en) * 2017-02-21 2022-06-03 腾讯科技(深圳)有限公司 Advertisement processing method and advertisement system
CN107690087A (en) * 2017-07-04 2018-02-13 北京奇艺世纪科技有限公司 A kind of advertising display area determination method and device
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
CN109873922A (en) * 2019-02-20 2019-06-11 广州视源电子科技股份有限公司 Method and device for adjusting overscan parameters, display equipment and storage medium
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

Also Published As

Publication number Publication date
CN105761205B (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN105761205A (en) Picture delivery method and device
CN110162799B (en) Model training method, machine translation method, and related devices and equipment
CN106658200B (en) Live video sharing and acquiring method and device and terminal equipment thereof
CN107835444B (en) Information interacting method, device, voice frequency terminal and computer readable storage medium
USRE48430E1 (en) Two-dimensional code processing method and terminal
CN110852332B (en) Training sample generation method and device, storage medium and electronic equipment
US8151193B2 (en) Providing image-based guidance for remote assistance
WO2008054160A1 (en) Messenger system for transmitting handwriting instant messages through wire and/or wireless network system and messenger service method thereof
CN112153422B (en) Video fusion method and device
US20170064345A1 (en) Video file processing
CN103747277A (en) Multimedia program identification method and device
JP7511026B2 (en) Image data encoding method and device, display method and device, and electronic device
CN104169913A (en) A picture display method and device and a terminal device
CN104023181A (en) Information processing method and device
CN110601933A (en) Control method, device and equipment of Internet of things equipment and storage medium
CN111177167B (en) Augmented reality map updating method, device, system, storage and equipment
CN105681175A (en) Method and device of modifying contact person head portrait in instant messaging application
CN113821652A (en) Model data processing method and device, electronic equipment and computer readable medium
CN112202985B (en) Information processing method, client device, server device and information processing system
CN115086572A (en) Image transmission method and device and electronic equipment
US20120149406A1 (en) Personalized channel service providing system, real-time channel service providing method, and personalized channel service providing system method
CN114612790A (en) Image processing method and device, electronic equipment and storage medium
CN114691954A (en) Data labeling method and device, electronic equipment and storage medium
CN106301641A (en) By integrated with extra digital content for audio content
CN107484006A (en) A kind of interface processing method, set top box and storage medium

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