CN108550175A - A kind of picture synthetic method, system and storage medium - Google Patents

A kind of picture synthetic method, system and storage medium Download PDF

Info

Publication number
CN108550175A
CN108550175A CN201810339271.8A CN201810339271A CN108550175A CN 108550175 A CN108550175 A CN 108550175A CN 201810339271 A CN201810339271 A CN 201810339271A CN 108550175 A CN108550175 A CN 108550175A
Authority
CN
China
Prior art keywords
picture
user
resolution ratio
equal
threshold value
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
CN201810339271.8A
Other languages
Chinese (zh)
Other versions
CN108550175B (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.)
Beijing Youpin Sanyue Technology Development Co ltd
Original Assignee
Shanghai Siyixuan Robot Technology 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 Shanghai Siyixuan Robot Technology Co Ltd filed Critical Shanghai Siyixuan Robot Technology Co Ltd
Priority to CN201810339271.8A priority Critical patent/CN108550175B/en
Publication of CN108550175A publication Critical patent/CN108550175A/en
Application granted granted Critical
Publication of CN108550175B publication Critical patent/CN108550175B/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
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • 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/4092Image resolution transcoding, e.g. by using client-server architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration using two or more images, e.g. averaging or subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging

Landscapes

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

Abstract

This application discloses a kind of picture synthetic method, system and storage mediums, wherein, the picture synthetic method detaches picture building-up process with the shooting process of user's picture, the synthesis for realizing picture by the determination of drawing order, resolution adjustment and the process that repaints by user's picture of acquisition and according to the determining material picture of material selectiong instruction, avoids the bad image generated to picture shooting process due to the loading procedure of larger background material;And the picture synthetic method is drawn to user's picture and material picture with before obtaining synthesising picture, the difference of the resolution ratio of user's picture and material picture is limited within predetermined threshold value, to avoid acquisition synthesising picture the pattern distortion occurred after printing the problem of.

Description

A kind of picture synthetic method, system and storage medium
Technical field
This application involves Computer Applied Technologies, are situated between more specifically to a kind of picture synthetic method, system and storage Matter.
Background technology
Now each class of electronic devices generally has camera function, with the appearance of all kinds of applications of taking pictures, finds a view taking pictures Background material is set on section, is then shot to realize that scenery and background material in kind are shot for all kinds of of image and answer With also continuing to bring out.In such applications, it usually needs user chooses background material, the background of selection before photographed Material is nested on the interface of application, then find a view after shooting to scenery, scenery and background material can be completed in shooting After be formed as a pictures.
It is this by photographed and background material shooting become a pictures during, background material need in user It is loaded during being selected as background, so that background material can be nested on the interface of application, and in order to enable the back of the body The load time of scape material is shorter, avoids the long load time from generating harmful effect to the experience of taking pictures of user, this just will the back of the body Scape material is limited in that some patterns are simple and in the lower image of resolution ratio, to be difficult to meet user in picture building-up process In, and resolution ratio higher image requirement as background material complicated for pattern.
Invention content
In order to solve the above technical problems, this application provides a kind of picture synthetic method, system and storage medium, to realize A kind of picture synthetic method without loading background material in shooting process is provided, is solved due in order to enable background material Load time it is shorter, and background material is limited in some patterns are simple and the problems in lower image of resolution ratio.
To realize the above-mentioned technical purpose, the embodiment of the present application provides following technical solution:
A kind of picture synthetic method, including:
User's picture and material selectiong instruction are obtained, there is material mark in the material selectiong instruction;
Material picture is determined in material database according to material selectiong instruction, is stored with and the element in the material database Material identifies corresponding material picture;
According to the resolution sizes of user's picture and material picture, drawing order is determined;
Judge whether user's picture and the difference of the resolution ratio of the material picture are less than or equal to predetermined threshold value, such as Fruit is no, then is adjusted to the resolution ratio of user's picture and/or the material picture so that user's picture with it is described The difference of the resolution ratio of material picture is less than or equal to the predetermined threshold value;
According to the drawing order, resolution ratio difference is less than or equal to the user's picture and material figure of predetermined threshold value successively Piece is plotted in the same blank picture, to obtain synthesising picture.
Optionally, the resolution sizes according to user's picture and material picture determine that drawing order includes:
According to the sequence that the resolution ratio of user's picture and material picture is descending, drawing order is determined.
Optionally, described to judge whether user's picture and the difference of the resolution ratio of the material picture are less than or equal to Predetermined threshold value, if it is not, then being adjusted to the resolution ratio of user's picture and/or the material picture, so that the use Family picture and the difference of the resolution ratio of the material picture include less than or equal to the predetermined threshold value:
Judge whether user's picture and the resolution ratio of the material picture are equal, if it is, entering according to Resolution ratio difference is less than or equal to user's picture of predetermined threshold value successively and material picture is plotted in the same sky by drawing order In white picture, the step of to obtain synthesising picture;
If it is not, then the picture larger to user's picture and the material picture intermediate-resolution carries out resolution ratio tune It is whole, so that user's picture is equal with the resolution ratio of material picture, and enters according to the drawing order, will divide successively Resolution difference is less than or equal to user's picture of predetermined threshold value and material picture is plotted in the same blank picture, to be closed The step of at picture.
Optionally, described according to the drawing order, resolution ratio difference is less than or equal to the user of predetermined threshold value successively Picture is plotted in material picture in the same blank picture, includes to obtain synthesising picture:
Establish blank bitmap images;
According to the drawing order, resolution ratio difference is less than or equal to the user's picture and material figure of predetermined threshold value successively Piece is plotted in the blank bitmap images, to obtain synthesising picture.
Optionally, described according to the drawing order, resolution ratio difference is less than or equal to the user of predetermined threshold value successively Picture is plotted in material picture in the blank bitmap images, includes to obtain synthesising picture:
According to the drawing order, resolution ratio difference is less than or equal to the user's picture and material figure of predetermined threshold value successively Piece is rendered pixel-by-pixel in the blank bitmap images, to obtain synthesising picture.
A kind of picture synthesis system, including:
Picture acquisition module has element for obtaining user's picture and material selectiong instruction in the material selectiong instruction Material identifies;
Material determining module, for determining material picture, the material in material database according to material selectiong instruction Material picture corresponding with material mark is stored in library;
Sequence determining module determines drawing order for the resolution sizes according to user's picture and material picture;
Pixel adjusts module, for judging whether user's picture and the difference of the resolution ratio of the material picture are less than Or it is equal to predetermined threshold value, if it is not, then the resolution ratio of user's picture and/or the material picture is adjusted, so that User's picture and the difference of the resolution ratio of the material picture are less than or equal to the predetermined threshold value;
Picture rendering module, for according to the drawing order, resolution ratio difference to be less than or equal to predetermined threshold value successively User's picture and material picture be plotted in the same blank picture, to obtain synthesising picture.
Optionally, the sequence determining module is specifically used for, according to the resolution ratio of user's picture and material picture by Small sequence is arrived greatly, determines drawing order.
Optionally, the pixel adjustment module is specifically used for, and judges the resolution of user's picture and the material picture Whether rate is equal, if it is, triggering the picture rendering module according to the drawing order, is successively less than resolution ratio difference Or be plotted in the same blank picture equal to user's picture of predetermined threshold value and material picture, to obtain synthesising picture;
If it is not, then the picture larger to user's picture and the material picture intermediate-resolution carries out resolution ratio tune It is whole, so that user's picture is equal with the resolution ratio of material picture, and the picture rendering module is triggered according to Resolution ratio difference is less than or equal to user's picture of predetermined threshold value successively and material picture is plotted in the same sky by drawing order In white picture, to obtain synthesising picture.
Optionally, the picture rendering module includes:
Bitmap establishes unit, for establishing blank bitmap images;
Pixel rendering unit, for according to the drawing order, resolution ratio difference to be less than or equal to predetermined threshold value successively User's picture and material picture be plotted in the blank bitmap images, to obtain synthesising picture.
Optionally, the pixel rendering unit is specifically used for, and according to the drawing order, is successively less than resolution ratio difference Or rendered pixel-by-pixel in the blank bitmap images equal to user's picture of predetermined threshold value and material picture, to obtain composite diagram Piece.
A kind of storage medium, have program stored therein on the storage medium code, and said program code is performed in realization State any one of them picture synthetic method.
It can be seen from the above technical proposal that the embodiment of the present application provides a kind of picture synthetic method, system and storage Medium, wherein the picture synthetic method detaches picture building-up process with the shooting process of user's picture, passes through the use of acquisition It family picture and by the determination of drawing order, resolution adjustment and is repainted according to the determining material picture of material selectiong instruction Process realize the synthesis of picture, avoid and picture shooting process generated due to the loading procedure of larger background material Bad image;And the picture synthetic method user's picture and material picture are drawn with obtain synthesising picture it Before, the difference of the resolution ratio of user's picture and material picture is limited within predetermined threshold value, to avoid the synthesising picture of acquisition The pattern distortion occurred after printing the problem of.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram for picture synthetic method that one embodiment of the application provides;
Fig. 2 is the exhibition method schematic diagram of the material picture in a kind of material database that one embodiment of the application provides;
Fig. 3 is a kind of flow diagram for picture synthetic method that another embodiment of the application provides;
Fig. 4 is a kind of flow diagram for picture synthetic method that another embodiment of the application provides;
Fig. 5 is a kind of flow diagram for picture synthetic method that the further embodiment of the application provides;
Fig. 6 is a kind of flow diagram for picture synthetic method that the preferred embodiment of the application provides;
Fig. 7 is a kind of structural schematic diagram for picture synthesis system that one embodiment of the application provides;
Fig. 8 is a kind of structural schematic diagram for picture synthesis system that another embodiment of the application provides.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
The embodiment of the present application provides a kind of picture synthetic method, as shown in Figure 1, including:
S101:User's picture and material selectiong instruction are obtained, there is material mark in the material selectiong instruction;
S102:Material picture is determined in material database according to material selectiong instruction, be stored in the material database with The material identifies corresponding material picture;
S103:According to the resolution sizes of user's picture and material picture, drawing order is determined;
S104:Judge whether user's picture and the difference of the resolution ratio of the material picture are less than or equal to default threshold Value, if it is not, then being adjusted to the resolution ratio of user's picture and/or the material picture, so that user's picture It is less than or equal to the predetermined threshold value with the difference of the resolution ratio of the material picture;
S105:According to the drawing order, successively by resolution ratio difference be less than or equal to predetermined threshold value user's picture with Material picture is plotted in the same blank picture, to obtain synthesising picture.
In the present embodiment, user's picture refers to the picture that user obtains by uploading or attaching the modes such as link, uses It is synthesized in by the determining material picture progress picture of material selectiong instruction;
The material selectiong instruction can be the phonetic order that user sends, and can also be that user passes through Touch Screen or reality The electric signal instruction of body button triggering, for example, when the input equipment of user is Touch Screen, with reference to figure 2, the label in Fig. 2 10 indicate that the material picture in the material database, the material picture in the material database are illustrated in Touch Screen in a manner of tiling On, user is by the transmission that the touch realization material selectiong of different location instructs on Touch Screen, and the different of user touch Position is the material mark in material selectiong instruction.The specific triggering mode that the application instructs the material selectiong is not It limits, specifically depending on actual conditions.
The picture synthetic method detaches picture building-up process with the shooting process of user's picture, passes through the user of acquisition It picture and by the determination of drawing order, resolution adjustment and is repainted according to material selectiong instruction determining material picture Process realizes the synthesis of picture, avoids since the loading procedure of larger background material generates not picture shooting process Good image;And the picture synthetic method is drawn to user's picture and material picture with before obtaining synthesising picture, The difference of the resolution ratio of user's picture and material picture is limited within predetermined threshold value, is being beaten to avoid the synthesising picture of acquisition The problem of printing off the pattern distortion occurred after coming.
It should be noted that when there is the error more than predetermined threshold value in the resolution ratio of user's picture and material picture When, if be not adjusted to the resolution ratio of user's picture or material picture, directly according to drawing order carry out user's picture and The drafting of material picture obtains synthesising picture, although there is no distortion for the display of synthesising picture in the application, has larger general Rate distorts after synthesising picture prints, since the Resolution Error of user's picture and material picture is larger, In the present embodiment, the progress photo resolution before carrying out repainting synthesis with material picture to user's picture is needed to sentence Disconnected and adjustment.
On the basis of the above embodiments, in one embodiment of the application, as shown in figure 3, the picture synthesis side Method includes:
S201:User's picture and material selectiong instruction are obtained, there is material mark in the material selectiong instruction;
S202:Material picture is determined in material database according to material selectiong instruction, be stored in the material database with The material identifies corresponding material picture;
S203:According to the sequence that the resolution ratio of user's picture and material picture is descending, drawing order is determined;
S204:Judge whether user's picture and the difference of the resolution ratio of the material picture are less than or equal to default threshold Value, if it is not, then being adjusted to the resolution ratio of user's picture and/or the material picture, so that user's picture It is less than or equal to the predetermined threshold value with the difference of the resolution ratio of the material picture;
S205:According to the drawing order, successively by resolution ratio difference be less than or equal to predetermined threshold value user's picture with Material picture is plotted in the same blank picture, to obtain synthesising picture.
In the present embodiment, to the resolution sizes according to user's picture and material picture, the specific of drawing order is determined Mode is defined, specifically, it is assumed that user's picture is picture A, and resolution ratio is the pixel of 2560 pixels × 1440, material picture For picture B, the pixel of 2560 pixels × 1080;So, drawing order is picture A, picture B;And if user's picture is figure Piece A, resolution ratio are the pixel of 1080 pixels × 800, and material picture is picture B, the pixel of 2560 pixels × 1080;So, it paints System sequence is picture B, picture A.
On the basis of the above embodiments, in another embodiment of the application, as shown in figure 4, the picture synthesizes Method includes:
S301:User's picture and material selectiong instruction are obtained, there is material mark in the material selectiong instruction;
S302:Material picture is determined in material database according to material selectiong instruction, be stored in the material database with The material identifies corresponding material picture;
S303:According to the resolution sizes of user's picture and material picture, drawing order is determined;
S304:Judge whether user's picture and the resolution ratio of the material picture are equal, if it is, into basis Resolution ratio difference is plotted in less than or equal to user's picture of predetermined threshold value with material picture same by the drawing order successively In a blank picture, the step of to obtain synthesising picture;
If it is not, then the picture larger to user's picture and the material picture intermediate-resolution carries out resolution ratio tune It is whole, so that user's picture is equal with the resolution ratio of material picture, and enters according to the drawing order, will divide successively Resolution difference is less than or equal to user's picture of predetermined threshold value and material picture is plotted in the same blank picture, to be closed The step of at picture;
S305:According to the drawing order, successively by resolution ratio difference be less than or equal to predetermined threshold value user's picture with Material picture is plotted in the same blank picture, to obtain synthesising picture.
In the present embodiment, the value of the predetermined threshold value is zero, i.e., in point for waiting user's picture and material picture It when resolution is completely the same, just carries out subsequent according to the drawing order, resolution ratio difference is less than or equal to default threshold successively User's picture of value is plotted in material picture in the same blank picture, described to ensure the step of to obtain synthesising picture Picture synthetic method is suitable for all electronic equipment or application environment.
In addition, in step s 304, it is preferably right when the resolution ratio of user's picture and the material picture is inconsistent User's picture carries out resolution adjustment with the larger picture of the material picture intermediate-resolution, if it is still assumed that user schemes Piece is picture A, and resolution ratio is the pixel of 1080 pixels × 800, and material picture is picture B, the pixel of 2560 pixels × 1080, that Preferably the resolution ratio of picture B is adjusted, is the pixel of 1080 pixels × 800 by the resolution adjustment of picture B;If In this case it is the pixel of 2560 pixels × 1080 by the resolution adjustment of picture A, it is possible to the figure of the picture A after adjustment occur As situations such as fuzzy, it is unfavorable for subsequent picture synthesis step.
On the basis of the above embodiments, in another embodiment of the application, as shown in figure 5, the picture synthesizes Method includes:
S401:User's picture and material selectiong instruction are obtained, there is material mark in the material selectiong instruction;
S402:Material picture is determined in material database according to material selectiong instruction, be stored in the material database with The material identifies corresponding material picture;
S403:According to the resolution sizes of user's picture and material picture, drawing order is determined;
S404:Judge whether user's picture and the difference of the resolution ratio of the material picture are less than or equal to default threshold Value, if it is not, then being adjusted to the resolution ratio of user's picture and/or the material picture, so that user's picture It is less than or equal to the predetermined threshold value with the difference of the resolution ratio of the material picture;
S405:Establish blank bitmap images;
S406:According to the drawing order, successively by resolution ratio difference be less than or equal to predetermined threshold value user's picture with Material picture is plotted in the blank bitmap images, to obtain synthesising picture.
Present embodiments provide a kind of process for drawing user's picture and material picture specifically according to drawing order, bitmap (Bitmap) image is also known as dot matrix image or drawing image, is the image being made of a single point for being referred to as pixel (Pixel).Position The drawing process of figure image is relatively simple, and can show coloury image and image effect, can also be realistically All kinds of scenery of nature are shown, therefore in the present embodiment, by establishing blank bitmap images, and by user's picture and material Picture repaints the acquisition that the mode in blank bitmap images realizes synthesising picture.
On the basis of the above embodiments, in the further embodiment of the application, as shown in fig. 6, the picture synthesizes Method includes:
S501:User's picture and material selectiong instruction are obtained, there is material mark in the material selectiong instruction;
S502:Material picture is determined in material database according to material selectiong instruction, be stored in the material database with The material identifies corresponding material picture;
S503:According to the resolution sizes of user's picture and material picture, drawing order is determined;
S504:Judge whether user's picture and the difference of the resolution ratio of the material picture are less than or equal to default threshold Value, if it is not, then being adjusted to the resolution ratio of user's picture and/or the material picture, so that user's picture It is less than or equal to the predetermined threshold value with the difference of the resolution ratio of the material picture;
S505:Establish blank bitmap images;
S506:According to the drawing order, successively by resolution ratio difference be less than or equal to predetermined threshold value user's picture with Material picture is rendered pixel-by-pixel in the blank bitmap images, to obtain synthesising picture.
In the present embodiment, step S507 is defined a kind of specifically according to the drawing order, successively that resolution ratio is poor Value is less than or equal to user's picture of predetermined threshold value and material picture is plotted in the blank bitmap images, to obtain composite diagram The mode of piece can rely on the process that user's picture and material picture render pixel-by-pixel in one embodiment of the application Canvas is realized.
Correspondingly, the embodiment of the present application also provides a kind of storage medium, have program stored therein code on the storage medium, Said program code is performed the picture synthetic method realized described in any of the above-described embodiment.
Picture synthesis system provided by the embodiments of the present application is described below, picture synthesis system described below with Above-described picture synthetic method can correspond reference.
Correspondingly, the embodiment of the present application also provides a kind of picture synthesis system, as shown in fig. 7, picture synthesis system System includes:
Picture acquisition module 100 has for obtaining user's picture and material selectiong instruction in the material selectiong instruction Material identifies;
Material determining module 200, for determining material picture, the element in material database according to material selectiong instruction Material picture corresponding with material mark is stored in material library;
Sequence determining module 300 determines that drafting is suitable for the resolution sizes according to user's picture and material picture Sequence;
Pixel adjusts module 400, for judge user's picture and the material picture resolution ratio difference whether Less than or equal to predetermined threshold value, if it is not, then the resolution ratio of user's picture and/or the material picture is adjusted, So that user's picture and the difference of the resolution ratio of the material picture are less than or equal to the predetermined threshold value;
Picture rendering module 500, for according to the drawing order, resolution ratio difference to be less than or equal to default threshold successively User's picture of value is plotted in material picture in the same blank picture, to obtain synthesising picture.
Optionally, the sequence determining module 300 is specifically used for, according to the resolution ratio of user's picture and material picture Descending sequence, determines drawing order.
Optionally, the pixel adjustment module 400 is specifically used for, and judges point of the user's picture with the material picture Whether resolution is equal, if it is, trigger the picture rendering module according to the drawing order, it is successively that resolution ratio difference is small It is plotted in the same blank picture in or equal to user's picture and the material picture of predetermined threshold value, to obtain synthesising picture;
If it is not, then the picture larger to user's picture and the material picture intermediate-resolution carries out resolution ratio tune It is whole, so that user's picture is equal with the resolution ratio of material picture, and the picture rendering module is triggered according to Resolution ratio difference is less than or equal to user's picture of predetermined threshold value successively and material picture is plotted in the same sky by drawing order In white picture, to obtain synthesising picture.
Optionally, as shown in figure 8, the picture rendering module 500 includes:
Bitmap establishes unit 510, for establishing blank bitmap images;
Pixel rendering unit 520, for according to the drawing order, resolution ratio difference to be less than or equal to default threshold successively User's picture of value is plotted in material picture in the blank bitmap images, to obtain synthesising picture.
Optionally, the pixel rendering unit 520 is specifically used for, according to the drawing order, successively by resolution ratio difference It is rendered pixel-by-pixel in the blank bitmap images less than or equal to user's picture of predetermined threshold value and material picture, to be closed At picture.
In conclusion the embodiment of the present application provides a kind of picture synthetic method, system and storage medium, wherein described Picture synthetic method detaches picture building-up process with the shooting process of user's picture, by user's picture of acquisition and according to element Material chooses the determining material picture of instruction realizes figure by the determination of drawing order, resolution adjustment and the process that repaints The synthesis of piece avoids the bad image generated to picture shooting process due to the loading procedure of larger background material;And The picture synthetic method is drawn to user's picture and material picture with before obtaining synthesising picture, by user's picture and The difference of the resolution ratio of material picture is limited within predetermined threshold value, is occurred after printing to avoid the synthesising picture of acquisition Pattern distortion the problem of.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the application. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can in other embodiments be realized in the case where not departing from spirit herein or range.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest range caused.

Claims (11)

1. a kind of picture synthetic method, which is characterized in that including:
User's picture and material selectiong instruction are obtained, there is material mark in the material selectiong instruction;
Material picture is determined in material database according to material selectiong instruction, is stored with and the material mark in the material database Know corresponding material picture;
According to the resolution sizes of user's picture and material picture, drawing order is determined;
Judge whether user's picture and the difference of the resolution ratio of the material picture are less than or equal to predetermined threshold value, if It is no, then the resolution ratio of user's picture and/or the material picture is adjusted, so that user's picture and the element The difference of the resolution ratio of material picture is less than or equal to the predetermined threshold value;
According to the drawing order, user's picture that resolution ratio difference is less than or equal to predetermined threshold value successively is painted with material picture It makes in the same blank picture, to obtain synthesising picture.
2. according to the method described in claim 1, it is characterized in that, the resolution according to user's picture and material picture Rate size determines that drawing order includes:
According to the sequence that the resolution ratio of user's picture and material picture is descending, drawing order is determined.
3. according to the method described in claim 1, it is characterized in that, described judge user's picture and the material picture Whether the difference of resolution ratio is less than or equal to predetermined threshold value, if it is not, then to user's picture and/or the material picture Resolution ratio is adjusted, so that the difference of user's picture and the resolution ratio of the material picture is less than or equal to described preset Threshold value includes:
Judge whether user's picture and the resolution ratio of the material picture are equal, if it is, into according to the drafting Sequentially, resolution ratio difference is less than or equal to user's picture of predetermined threshold value successively and material picture is plotted in the same blank sheet In piece, the step of to obtain synthesising picture;
If it is not, then the picture larger to user's picture and the material picture intermediate-resolution carries out resolution adjustment, with Keep user's picture equal with the resolution ratio of material picture, and enters according to the drawing order, successively by resolution ratio Difference is less than or equal to user's picture of predetermined threshold value and material picture is plotted in the same blank picture, to obtain composite diagram The step of piece.
4. successively that resolution ratio is poor according to the method described in claim 1, it is characterized in that, described according to the drawing order Value is less than or equal to user's picture of predetermined threshold value and material picture is plotted in the same blank picture, to obtain synthesising picture Including:
Establish blank bitmap images;
According to the drawing order, user's picture that resolution ratio difference is less than or equal to predetermined threshold value successively is painted with material picture It makes in the blank bitmap images, to obtain synthesising picture.
5. successively that resolution ratio is poor according to the method described in claim 4, it is characterized in that, described according to the drawing order Value is less than or equal to user's picture of predetermined threshold value and material picture is plotted in the blank bitmap images, to obtain composite diagram Piece includes:
According to the drawing order, resolution ratio difference is less than or equal to successively user's picture and the material picture of predetermined threshold value by Pixel rendering is in the blank bitmap images, to obtain synthesising picture.
6. a kind of picture synthesis system, which is characterized in that including:
Picture acquisition module has material mark for obtaining user's picture and material selectiong instruction in the material selectiong instruction Know;
Material determining module determines material picture, in the material database for being instructed according to the material selectiong in material database It is stored with material picture corresponding with material mark;
Sequence determining module determines drawing order for the resolution sizes according to user's picture and material picture;
Pixel adjusts module, for judging whether the difference of user's picture and the resolution ratio of the material picture is less than or waits In predetermined threshold value, if it is not, then being adjusted to the resolution ratio of user's picture and/or the material picture, so that described User's picture and the difference of the resolution ratio of the material picture are less than or equal to the predetermined threshold value;
Picture rendering module, for according to the drawing order, resolution ratio difference to be less than or equal to the use of predetermined threshold value successively Family picture is plotted in material picture in the same blank picture, to obtain synthesising picture.
7. system according to claim 6, which is characterized in that the sequence determining module is specifically used for, according to the use The descending sequence of the resolution ratio of family picture and material picture, determines drawing order.
8. system according to claim 6, which is characterized in that the pixel adjustment module is specifically used for, and judges the use Whether family picture and the resolution ratio of the material picture are equal, are painted according to if it is, triggering the picture rendering module Resolution ratio difference is less than or equal to user's picture of predetermined threshold value successively and material picture is plotted in the same blank by system sequence In picture, to obtain synthesising picture;
If it is not, then the picture larger to user's picture and the material picture intermediate-resolution carries out resolution adjustment, with Keep user's picture equal with the resolution ratio of material picture, and it is suitable according to the drafting to trigger the picture rendering module Resolution ratio difference is less than or equal to user's picture of predetermined threshold value successively and material picture is plotted in the same blank picture by sequence In, to obtain synthesising picture.
9. system according to claim 6, which is characterized in that the picture rendering module includes:
Bitmap establishes unit, for establishing blank bitmap images;
Pixel rendering unit, for according to the drawing order, resolution ratio difference to be less than or equal to the use of predetermined threshold value successively Family picture is plotted in material picture in the blank bitmap images, to obtain synthesising picture.
10. system according to claim 9, which is characterized in that the pixel rendering unit is specifically used for, and is painted according to described System sequence, user's picture that resolution ratio difference is less than or equal to predetermined threshold value successively are rendered pixel-by-pixel with material picture described In blank bitmap images, to obtain synthesising picture.
11. a kind of storage medium, which is characterized in that have program stored therein code on the storage medium, and said program code is held Claim 1-5 any one of them picture synthetic methods are realized when row.
CN201810339271.8A 2018-04-16 2018-04-16 Picture synthesis method, system and storage medium Active CN108550175B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810339271.8A CN108550175B (en) 2018-04-16 2018-04-16 Picture synthesis method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810339271.8A CN108550175B (en) 2018-04-16 2018-04-16 Picture synthesis method, system and storage medium

Publications (2)

Publication Number Publication Date
CN108550175A true CN108550175A (en) 2018-09-18
CN108550175B CN108550175B (en) 2022-05-24

Family

ID=63515029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810339271.8A Active CN108550175B (en) 2018-04-16 2018-04-16 Picture synthesis method, system and storage medium

Country Status (1)

Country Link
CN (1) CN108550175B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110211484A (en) * 2019-06-13 2019-09-06 深圳云里物里科技股份有限公司 A kind of electronics price tag display methods, system and server and storage medium
CN111445551A (en) * 2020-03-26 2020-07-24 魔立数码科技(上海)有限公司 Image design method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063890A (en) * 2013-03-22 2014-09-24 中国移动通信集团福建有限公司 Method for cartooning human face and system thereof
CN104349044A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Method and electronic equipment for shooting panoramic picture
US20150229807A1 (en) * 2014-02-12 2015-08-13 Xerox Corporation Methods and systems for processing low resolution images via error diffusion
CN104899825A (en) * 2014-03-06 2015-09-09 腾讯科技(深圳)有限公司 Method and device for modeling picture figure
CN106023275A (en) * 2015-03-31 2016-10-12 株式会社摩如富 Image synthesis apparatus and image synthesis method
CN107707831A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063890A (en) * 2013-03-22 2014-09-24 中国移动通信集团福建有限公司 Method for cartooning human face and system thereof
CN104349044A (en) * 2013-08-09 2015-02-11 联想(北京)有限公司 Method and electronic equipment for shooting panoramic picture
US20150229807A1 (en) * 2014-02-12 2015-08-13 Xerox Corporation Methods and systems for processing low resolution images via error diffusion
CN104899825A (en) * 2014-03-06 2015-09-09 腾讯科技(深圳)有限公司 Method and device for modeling picture figure
CN106023275A (en) * 2015-03-31 2016-10-12 株式会社摩如富 Image synthesis apparatus and image synthesis method
CN107707831A (en) * 2017-09-11 2018-02-16 广东欧珀移动通信有限公司 Image processing method and device, electronic installation and computer-readable recording medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋科宁: "大规模地形模型可视化技术研究与实现", 《中国优秀博硕士学位论文全文数据库(硕士)-信息科技辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110211484A (en) * 2019-06-13 2019-09-06 深圳云里物里科技股份有限公司 A kind of electronics price tag display methods, system and server and storage medium
CN110211484B (en) * 2019-06-13 2021-10-26 深圳云里物里科技股份有限公司 Electronic price tag display method, system, server and storage medium
US11763504B2 (en) 2019-06-13 2023-09-19 Shenzhen Minew Technologies Co Ltd Method for displaying electronic price tag, server and storage medium
CN111445551A (en) * 2020-03-26 2020-07-24 魔立数码科技(上海)有限公司 Image design method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108550175B (en) 2022-05-24

Similar Documents

Publication Publication Date Title
US9459820B2 (en) Display processing apparatus, display processing method, and computer program product
KR100843087B1 (en) A image generation apparatus and method for the same
CN100505851C (en) Image processing system, projector, portable device and image processing method
JP3766672B2 (en) Image correction data calculation method
EP1903498B1 (en) Creating a panoramic image by stitching a plurality of images
JPH04219068A (en) Picture processor
CN110176030A (en) A kind of autoegistration method, device and the electronic equipment of unmanned plane image
JP2000105657A5 (en)
US7121667B2 (en) Geometrically correcting method and system for image distortion with the aid of an auxiliary line
CN108038886A (en) Binocular camera shooting system calibrating method, device and its automobile
CN108886579A (en) Unmanned plane shoots processing method, shooting camera and the remote controler of video
CN108550175A (en) A kind of picture synthetic method, system and storage medium
US20030156197A1 (en) Digital camera, image processing apparatus, image processing method, image processing system, and program
JP4609674B2 (en) Image processing system, display device, program, and information storage medium
CN108932701A (en) Information processing unit, information processing method and non-transitory storage medium
JP6980913B2 (en) Learning device, image generator, learning method, image generation method and program
CN112770095B (en) Panoramic projection method and device and electronic equipment
CN103959204B (en) Information processor, information processing method and recording medium
CN106168890A (en) A kind of display packing, device and terminal of based on screen resolution regulation
CN110383811A (en) Image processing method and device, the first electronic equipment and image processing system
JP7247501B2 (en) Image processing device and program
CN101430791B (en) Method and apparatus for synthesizing photo frame on picture
JP3823884B2 (en) Large screen display method
JP2006106976A (en) Image processor, image processing method and program
JP2002238064A (en) Large screen display device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220714

Address after: 100102 6th floor, Donghu International Center, Chaoyang District, Beijing

Patentee after: Beijing Youpin Sanyue Technology Development Co.,Ltd.

Address before: 200233 floor 3, building 1, No. 400, Fangchun Road, China (Shanghai) pilot Free Trade Zone, Shanghai

Patentee before: SHANGHAI SIYIXUAN ROBOT TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right