CN104156476A - Image synthesis method and device - Google Patents

Image synthesis method and device Download PDF

Info

Publication number
CN104156476A
CN104156476A CN201410422415.8A CN201410422415A CN104156476A CN 104156476 A CN104156476 A CN 104156476A CN 201410422415 A CN201410422415 A CN 201410422415A CN 104156476 A CN104156476 A CN 104156476A
Authority
CN
China
Prior art keywords
image
identification information
picture identification
region
replaced
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
CN201410422415.8A
Other languages
Chinese (zh)
Other versions
CN104156476B (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 Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410422415.8A priority Critical patent/CN104156476B/en
Publication of CN104156476A publication Critical patent/CN104156476A/en
Application granted granted Critical
Publication of CN104156476B publication Critical patent/CN104156476B/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
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration using two or more images, e.g. averaging or subtraction

Landscapes

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

Abstract

The invention relates to an image synthesis method and device. The method comprises the steps that image identification information in a framing picture is acquired; according to the image identification information, an area where the image identification information is located is replaced by a first image corresponding to the information; a second image containing the first image is generated. By acquiring the image identification information in the framing picture, the area where the image identification information is located can be directly replaced by the image wanted for replacement, a user does not need to perform post processing, synthesis between images is achieved, and more convenience and rapidness are brought to the user in the image synthesis process.

Description

The method that image is synthetic and device
Technical field
The disclosure relates to image processing field, relates in particular to a kind of synthetic method of image and device.
Background technology
In correlation technique, for most shooting user, all wish to shoot the photo of oneself admiring by natural landscape, but often owing to being subject to the reason such as restriction or style of shooting of equipment, user cannot take the photo of oneself wanting, and therefore need to carry out post-processed by corresponding synthetic technology comparison film.But the method that this employing synthetic technology comparison film is processed is very loaded down with trivial details, must be by manual operation, and for can not using the user of synthetic technology, just cannot carry out post-processed by comparison film, to obtain the photo of oneself admiring.Simultaneously, the method that this employing synthetic technology comparison film is processed has certain limitation, user is in the time of photomontage, need to carry out respectively convergent-divergent processing and position adjustment etc. according to the ratio of different photos and scene, therefore unusual trouble, and easily produce error and make the photo after synthetic natural not.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of synthetic method of image and device.
According to the first aspect of disclosure embodiment, provide a kind of image synthetic method, comprising:
Obtain the picture identification information of finding a view in picture;
According to described picture identification information, the region at described picture identification information place is replaced with to first image corresponding with described information;
The second image that generation comprises described the first image.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: by obtaining the picture identification information of finding a view in picture, can directly the region at picture identification information place be replaced with to the image of wanting replacement, carry out post-processed without user, realize synthesizing between image, more convenient while making user's composograph.
Optionally, described in obtain the picture identification information of finding a view in picture, comprising:
The picture identification that identification is found a view in picture;
From described picture identification, extract described picture identification information.
In possibility, by can extract picture identification information from the picture identification of finding a view picture, and then according to picture identification information composograph.
Optionally, described picture identification information is Quick Response Code or bar code.
In possibility, according to find a view Quick Response Code in picture or bar code with become image.
Optionally, the default image that described the first image is this locality or network side.
In possibility, the image that user can select arbitrarily this locality or network side the first image as an alternative.
Optionally, described according to described picture identification information, the region at described picture identification information place is replaced with to first image corresponding with described information, comprising:
Receive the selection operation of user to described the first image;
According to described picture identification information, the region at described picture identification information place is replaced with to described selection and operate selected the first image.
In possibility, after identification picture identification information, user can manually select to want the image of replacing, and then the region at picture identification information place is replaced with user-selected, and image, obtains the image that user admires.
Optionally, described according to described picture identification information, the region at described picture identification information place is replaced with to first image corresponding with described information, comprising:
Identify the shape in the region at described picture identification information place;
According to described shape, the region at described picture identification information place is replaced with to the first image matching with described shape.
In possibility, replace image according to the shape in the region at picture identification information place, the shape in the shape of the image that replace and the region at picture identification information place is matched, thus the image effect natural beauty more after making to synthesize.
Optionally, described according to described shape, the region at described picture identification information place is replaced with to the first image matching with described shape, comprising:
According to described shape, described the first image is carried out to convergent-divergent, until the size of described the first image and the size of described shape match, obtain the 3rd image;
The region at described picture identification information place is replaced with to described the 3rd image.
In possibility, replace image according to the size in the region at picture identification information place, the size in the size of the image that replace and the region at picture identification information place is matched, thus the image effect natural beauty more after making to synthesize.
Optionally, described according to described shape, the region at described picture identification information place is replaced with to the first image matching with described shape, comprising:
Identify the theme in described the first image;
According to described shape, described the first image is carried out to convergent-divergent and/or intercepting, make described theme be presented at the region at described picture identification information place, obtain the 4th image;
The region at described picture identification information place is replaced with to described the 4th image.
In possibility, according to the shape in the region at picture identification information place, the image that will replace is carried out to convergent-divergent and/or intercepting, and the theme in the image that makes to replace can intactly be presented in region, thereby makes the image effect natural beauty more after synthetic.
According to the second aspect of disclosure embodiment, provide a kind of image synthetic device, comprising:
Acquisition module, for obtaining the picture identification information of the picture of finding a view;
Replacement module, for according to described picture identification information, replaces with first image corresponding with described information by the region at described picture identification information place;
Generation module, for generating the second image that comprises described the first image.
Optionally, described acquisition module comprises:
The first recognin module, for identifying the picture identification of the picture of finding a view;
Extract submodule, for extract described picture identification information from described picture identification.
Optionally, described replacement module comprises:
Receive submodule, for receiving the selection operation of user to described the first image;
First replaces submodule, for according to described picture identification information, the region at described picture identification information place is replaced with to described selection and operate selected the first image.
Optionally, described replacement module comprises:
The second recognin module, for identifying the shape in region at described picture identification information place;
Second replaces submodule, for according to described shape, the region at described picture identification information place is replaced with to the first image matching with described shape.
Optionally, described second replaces submodule is used for,
According to described shape, described the first image is carried out to convergent-divergent, until the size of described the first image and the size of described shape match, obtain the 3rd image;
The region at described picture identification information place is replaced with to described the 3rd image.
Optionally, described second replaces submodule is used for,
Identify the theme in described the first image;
For described the first image being carried out to convergent-divergent and/or intercepting according to described shape, make described theme be presented at the region at described picture identification information place, obtain the 4th image;
For the region at described picture identification information place is replaced with to described the 4th image.
According to the third aspect of disclosure embodiment, provide a kind of image synthetic device, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the picture identification information of finding a view in picture;
According to described picture identification information, the region at described picture identification information place is replaced with to first image corresponding with described information;
The second image that generation comprises described the first image.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, and can not limit the disclosure.
Brief description of the drawings
Accompanying drawing is herein merged in instructions and forms the part of this instructions, shows and meets embodiment of the present disclosure, and be used from and explain principle of the present disclosure with instructions one.
Fig. 1 is the process flow diagram of the method synthetic according to a kind of image shown in an exemplary embodiment;
Fig. 2 is the process flow diagram of the method synthetic according to a kind of image shown in a specific embodiment;
Fig. 3 is the design sketch after synthesizing according to the image shown in an exemplary embodiment;
Fig. 4 is the process flow diagram of the method synthetic according to a kind of image shown in another specific embodiment;
Fig. 5 is the design sketch after synthesizing according to the image shown in an exemplary embodiment;
Fig. 6 is the block diagram of the device synthetic according to a kind of image shown in an exemplary embodiment;
Fig. 7 is according to the block diagram of acquisition module in the synthetic device of a kind of image shown in an exemplary embodiment;
Fig. 8 is according to the block diagram of replacement module in the synthetic device of a kind of image shown in an exemplary embodiment;
Fig. 9 is the block diagram of the device synthetic according to a kind of image shown in an exemplary embodiment.
Embodiment
Here will at length describe exemplary embodiment, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they are only and the example of apparatus and method as consistent in some aspects that described in detail in appended claims, of the present disclosure.
Fig. 1 is the process flow diagram of the method synthetic according to a kind of image shown in an exemplary embodiment, and as shown in Figure 1, the synthetic method of image, for terminal, comprises the following steps:
Step S11, obtains the picture identification information of finding a view in picture;
Step S12, according to picture identification information, replaces with first image corresponding with information by the region at picture identification information place;
Step S13, generates the second image that comprises the first image.
The technical scheme that the present embodiment provides can comprise following beneficial effect: by obtaining the picture identification information of finding a view in picture, can directly the region at picture identification information place be replaced with to the image of wanting replacement, carry out post-processed without user, realize synthesizing between image, more convenient while making user's composograph.
In said method, step S11 can be embodied as following steps:
Step S111, the picture identification that identification is found a view in picture;
Step S112 extracts picture identification information from picture identification.
Wherein, picture identification information can be Quick Response Code or bar code.In the time that picture identification information is Quick Response Code, terminal, in the time taking pictures, is identified the picture identification of finding a view in picture, note or photo frame etc. with Quick Response Code that such as user is hand-held, when after the Quick Response Code recognizing in note or photo frame, terminal is extracted 2 D code information from this Quick Response Code.In the time that picture identification information is bar code, terminal, in the time taking pictures, is identified the picture identification of finding a view in picture, paper or water tumbler etc. with bar code that such as user is hand-held, when after the bar code recognizing on paper or water tumbler, terminal is extracted the information of bar code from this bar code.
Optionally, in above-mentioned steps S12, the first image that replace in the region at picture identification information place can, by user's preliminary election from the image of this locality or network side, also can manually be selected after terminal gets picture identification information.In the time that user manually selects the first image, step S12 is embodied as following steps:
Step S121, receives the selection operation of user to the first image; User can be in terminal this locality or network side manually select the first image;
Step S122, according to picture identification information, replaces with the region at picture identification information place to select selected the first image of operation.
Optionally, the region at image mark information place can be the curve of arbitrary shape.Such as, LOGO, photo frame etc. on cup, clothes.Terminal can be identified the shape in the region at picture identification information place automatically, and replaces according to the region shape recognizing the image matching with it.Be embodied as following steps:
Steps A 1, the shape in the region at identification picture identification information place;
Steps A 2, according to shape, replaces with the region at picture identification information place the first image matching with shape.
Wherein, steps A 2 can be embodied as two kinds of modes.A kind of mode is the image that will replace according to the scaled in the region at picture identification information place, another kind of mode is according to the shape in the region at picture identification information place, the image that will replace to be intercepted, and the theme in the image that guarantee will be replaced can intactly be presented in the region at picture identification information place.Concrete steps are as follows:
First kind of way: step B1, carries out convergent-divergent according to the shape in the region at picture identification information place to the first image, until the size of the shape in the region at the size of the first image and picture identification information place matches, obtains the 3rd image; Step B2, replaces with the 3rd image by the region at picture identification information place.
The second way: step C1, the theme in identification the first image; Step C2, carries out convergent-divergent and/or intercepting according to the shape in the region at picture identification information place to the first image, makes the theme of the first image be presented at the region at picture identification information place, obtains the 4th image; Step C3, replaces with the 4th image by the region at picture identification information place.
In addition, terminal can identify according to information such as color, shape or the closed curves of finding a view in picture the region at picture identification information place, also can Direct Recognition go out the object in the region at picture identification information place, for example, finding a view in picture, the hand-held mark of user has the square water cup of Quick Response Code, and the region at this Quick Response Code place is square water cup.In the time that terminal is taken pictures, the region that can Direct Recognition goes out Quick Response Code place is a square water cup, and then can be according to information such as the shape of this square water cup, size, colors, the first image is carried out to the operations such as convergent-divergent or intercepting, thereby the image after replacement is mated more with the region at Quick Response Code place.
Also may there is certain see-through in the region at picture identification information place, terminal is after getting picture identification information, and the image effect that the region at picture identification information place is replaced to also meets the see-through in this region.
A kind of synthetic method of image proposing below by two specific embodiment explanation disclosure.
Embodiment mono-
Figure 2 shows that the process flow diagram of the synthetic method of a kind of image shown in this embodiment.In this embodiment, the synthetic method of image is for terminal, and picture identification information is Quick Response Code, and the region at Quick Response Code place is the hand-held photo frame of user in picture of finding a view, as shown in Figure 3.Specifically comprise the following steps:
Step S21, obtains the Quick Response Code of finding a view in picture; The for example Quick Response Code on the hand-held photo frame of user in Fig. 3;
Step S22, receives the selection operation of user to the first image that will replace;
Step S23, region---position and the size of photo frame at identification Quick Response Code place;
Step S24, according to the size of photo frame, suitably the size of selected the first image of convergent-divergent, matches the size of the first image and photo frame size;
Step S25, according to the position of photo frame, replaces with the first image after convergent-divergent by the image in photo frame;
Step S26, generation comprises the image after synthesizing of the first image.
Wherein, the first user-selected image is the image in the hand-held black photo frame of user in Fig. 3, because photo frame is less with respect to the first image, therefore the first image can be carried out to convergent-divergent according to the size of photo frame, until the size of the first image and the size of photo frame match, like this, the image after synthetic is also just more natural.Image in black photo frame can arbitrarily be changed with user's selection.
The technical scheme that the present embodiment provides can comprise following beneficial effect: by obtaining the Quick Response Code of finding a view in picture, can directly the region at Quick Response Code place be replaced with to the image of wanting replacement, and can want the image of replacing according to the scaled of Quick Response Code region, and carry out post-processed without user, realize synthesizing between image, more convenient while making user's composograph.
Embodiment bis-
Figure 4 shows that the process flow diagram of the synthetic method of a kind of image shown in this embodiment.In this embodiment, the synthetic method of image is for terminal, and picture identification information is Quick Response Code, and the region at Quick Response Code place is the heart-shaped region of both hands composition in picture of finding a view, as shown in Figure 5.Specifically comprise the following steps:
Step S41, the default image that user will replace in the time that terminal selects a certain image synthetic as image;
Step S42, terminal is taken pictures, and obtains the Quick Response Code of finding a view in picture;
Step S43, shape, size and the position in the region at terminal recognition Quick Response Code place---heart-shaped region;
Step S44, the theme in the default image of terminal recognition; For example, in Fig. 5, the lovers in the heart-shaped region of both hands composition are the theme in default image;
Step S45, terminal, according to the shape in heart-shaped region and size, is carried out convergent-divergent and intercepting to default image, can completely be presented in heart-shaped region with the theme that ensures default image;
Step S46, terminal, according to the position in heart-shaped region, replaces with the image in heart-shaped region convergent-divergent and intercepts default image afterwards;
Step S47, generation comprises the image after synthesizing of default image.
The technical scheme that the present embodiment provides can comprise following beneficial effect: by obtaining the Quick Response Code of finding a view in picture, can directly the region at Quick Response Code place be replaced with to the image of wanting replacement, and can want the image of replacing according to the shape of Quick Response Code region and scaled, intercepting, to ensure the wanting theme of the image of replacing can completely be presented in the region at Quick Response Code place, carry out post-processed without user, realize synthesizing between image, more convenient while making user's composograph.
Fig. 6 is the device block diagram synthetic according to a kind of image shown in an exemplary embodiment.With reference to Fig. 6, this device comprises:
Acquisition module 61, for obtaining the picture identification information of the picture of finding a view;
Replacement module 62, for according to described picture identification information, replaces with first image corresponding with described information by the region at described picture identification information place;
Generation module 63, for generating the second image that comprises described the first image.
Optionally, acquisition module 61 comprises following submodule, as shown in Figure 7:
The first recognin module 71, for identifying the picture identification of the picture of finding a view;
Extract submodule 72, for extract described picture identification information from described picture identification.
Optionally, replacement module 62 comprises following submodule, as shown in Figure 8:
Receive submodule 81, for receiving the selection operation of user to described the first image;
First replaces submodule 82, for according to described picture identification information, the region at described picture identification information place is replaced with to described selection and operate selected the first image;
The second recognin module 83, for identifying the shape in region at described picture identification information place;
Second replaces submodule 84, for according to described shape, the region at described picture identification information place is replaced with to the first image matching with described shape.
Optionally, second replace submodule 84 also for, according to described shape, described the first image is carried out to convergent-divergent, until the size of described the first image and the size of described shape match, obtain the 3rd image; The region at described picture identification information place is replaced with to described the 3rd image.
Optionally, second replace submodule 84 also for, identify the theme in described the first image; For described the first image being carried out to convergent-divergent and/or intercepting according to described shape, make described theme be presented at the region at described picture identification information place, obtain the 4th image; For the region at described picture identification information place is replaced with to described the 4th image.
In the exemplary embodiment, also provide a kind of image synthetic device, having comprised:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the picture identification information of finding a view in picture;
According to described picture identification information, the region at described picture identification information place is replaced with to first image corresponding with described information;
The second image that generation comprises described the first image.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations have been described in detail in the embodiment about the method, will not elaborate explanation herein.
Fig. 9 is according to a kind of block diagram for the synthetic device 900 of image shown in an exemplary embodiment.For example, device 900 can be mobile phone, computing machine, digital broadcast terminal, information receiving and transmitting equipment, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 900 can comprise following one or more assembly: processing components 902, storer 904, power supply module 906, multimedia groupware 908, audio-frequency assembly 910, the interface 912 of I/O (I/O), sensor module 914, and communications component 916.
The integrated operation of processing components 902 common control device 900, such as with demonstration, call, data communication, the operation that camera operation and record operation are associated.Treatment element 902 can comprise that one or more processors 920 carry out instruction, to complete all or part of step of above-mentioned method.In addition, processing components 902 can comprise one or more modules, is convenient to mutual between processing components 902 and other assemblies.For example, processing element 902 can comprise multi-media module, to facilitate mutual between multimedia groupware 908 and processing components 902.
Storer 904 is configured to store various types of data to be supported in the operation of equipment 900.The example of these data comprises for any application program of operation on device 900 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 904 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
Electric power assembly 906 provides electric power for installing 900 various assemblies.Electric power assembly 906 can comprise power-supply management system, one or more power supplys, and other and the assembly that generates, manages and distribute electric power to be associated for device 900.
Multimedia groupware 908 is included in the screen that an output interface is provided between described device 900 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises that one or more touch sensors are with the gesture on sensing touch, slip and touch panel.Described touch sensor is the border of sensing touch or sliding action not only, but also detects duration and the pressure relevant to described touch or slide.In certain embodiments, multimedia groupware 908 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 900 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 910 is configured to output and/or input audio signal.For example, audio-frequency assembly 910 comprises a microphone (MIC), and when device 900 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal receiving can be further stored in storer 904 or be sent via communications component 916.In certain embodiments, audio-frequency assembly 910 also comprises a loudspeaker, for output audio signal.
I/O interface 912 is for providing interface between processing components 902 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 914 comprises one or more sensors, is used to device 900 that the state estimation of various aspects is provided.For example, sensor module 914 can detect the opening/closing state of equipment 900, the relative positioning of assembly, for example described assembly is display and the keypad of device 900, the position of all right pick-up unit 900 of sensor module 914 or 900 1 assemblies of device changes, user is with device 900 existence that contact or do not have the temperature variation of device 900 orientation or acceleration/deceleration and device 900.Sensor module 914 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 914 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 914 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 916 is configured to be convenient to the communication of wired or wireless mode between device 900 and other equipment.Device 900 wireless networks that can access based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 916 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, described communication component 916 also comprises near-field communication (NFC) module, to promote junction service.For example, can be based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 900 can be realized by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for carrying out said method.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable recording medium that comprises instruction, for example, comprised the storer 904 of instruction, above-mentioned instruction can have been carried out said method by the processor 920 of device 900.For example, described non-provisional computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage equipment etc.
A kind of non-provisional computer-readable recording medium, in the time that the instruction in described storage medium is carried out by the processor of mobile terminal, makes mobile terminal can carry out a kind of synthetic method of image, and described method comprises:
Obtain the picture identification information of finding a view in picture;
According to described picture identification information, the region at described picture identification information place is replaced with to first image corresponding with described information;
The second image that generation comprises described the first image.
The described picture identification information of finding a view in picture of obtaining, comprising:
The picture identification that identification is found a view in picture;
From described picture identification, extract described picture identification information.
Described picture identification information is Quick Response Code or bar code.
Described the first image is the default image of this locality or network side.
Described according to described picture identification information, the region at described picture identification information place is replaced with to first image corresponding with described information, comprising:
Receive the selection operation of user to described the first image;
According to described picture identification information, the region at described picture identification information place is replaced with to described selection and operate selected the first image.
Described according to described picture identification information, the region at described picture identification information place is replaced with to first image corresponding with described information, comprising:
Identify the shape in the region at described picture identification information place;
According to described shape, the region at described picture identification information place is replaced with to the first image matching with described shape.
Described according to described shape, the region at described picture identification information place is replaced with to the first image matching with described shape, comprising:
According to described shape, described the first image is carried out to convergent-divergent, until the size of described the first image and the size of described shape match, obtain the 3rd image;
The region at described picture identification information place is replaced with to described the 3rd image.
Described according to described shape, the region at described picture identification information place is replaced with to the first image matching with described shape, comprising:
Identify the theme in described the first image;
According to described shape, described the first image is carried out to convergent-divergent and/or intercepting, make described theme be presented at the region at described picture identification information place, obtain the 4th image;
The region at described picture identification information place is replaced with to described the 4th image.
Those skilled in the art, considering instructions and putting into practice after disclosure herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised undocumented common practise or the conventional techniques means in the art of the disclosure.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendments and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (15)

1. the synthetic method of image, is characterized in that, comprising:
Obtain the picture identification information of finding a view in picture;
According to described picture identification information, the region at described picture identification information place is replaced with to first image corresponding with described information;
The second image that generation comprises described the first image.
2. method according to claim 1, is characterized in that, described in obtain the picture identification information of finding a view in picture, comprising:
The picture identification that identification is found a view in picture;
From described picture identification, extract described picture identification information.
3. method according to claim 1, is characterized in that, described picture identification information is Quick Response Code or bar code.
4. method according to claim 1, is characterized in that, described the first image is the default image of this locality or network side.
5. method according to claim 1, is characterized in that, described according to described picture identification information, and the region at described picture identification information place is replaced with to first image corresponding with described information, comprising:
Receive the selection operation of user to described the first image;
According to described picture identification information, the region at described picture identification information place is replaced with to described selection and operate selected the first image.
6. method according to claim 1, is characterized in that, described according to described picture identification information, and the region at described picture identification information place is replaced with to first image corresponding with described information, comprising:
Identify the shape in the region at described picture identification information place;
According to described shape, the region at described picture identification information place is replaced with to the first image matching with described shape.
7. method according to claim 6, is characterized in that, described according to described shape, and the region at described picture identification information place is replaced with to the first image matching with described shape, comprising:
According to described shape, described the first image is carried out to convergent-divergent, until the size of described the first image and the size of described shape match, obtain the 3rd image;
The region at described picture identification information place is replaced with to described the 3rd image.
8. method according to claim 6, is characterized in that, described according to described shape, and the region at described picture identification information place is replaced with to the first image matching with described shape, comprising:
Identify the theme in described the first image;
According to described shape, described the first image is carried out to convergent-divergent and/or intercepting, make described theme be presented at the region at described picture identification information place, obtain the 4th image;
The region at described picture identification information place is replaced with to described the 4th image.
9. the synthetic device of image, is characterized in that, comprising:
Acquisition module, for obtaining the picture identification information of the picture of finding a view;
Replacement module, for according to described picture identification information, replaces with first image corresponding with described information by the region at described picture identification information place;
Generation module, for generating the second image that comprises described the first image.
10. device according to claim 9, is characterized in that, described acquisition module comprises:
The first recognin module, for identifying the picture identification of the picture of finding a view;
Extract submodule, for extract described picture identification information from described picture identification.
11. devices according to claim 9, is characterized in that, described replacement module comprises:
Receive submodule, for receiving the selection operation of user to described the first image;
First replaces submodule, for according to described picture identification information, the region at described picture identification information place is replaced with to described selection and operate selected the first image.
12. devices according to claim 9, is characterized in that, described replacement module comprises:
The second recognin module, for identifying the shape in region at described picture identification information place;
Second replaces submodule, for according to described shape, the region at described picture identification information place is replaced with to the first image matching with described shape.
13. devices according to claim 12, is characterized in that, described second replaces submodule is used for,
According to described shape, described the first image is carried out to convergent-divergent, until the size of described the first image and the size of described shape match, obtain the 3rd image;
The region at described picture identification information place is replaced with to described the 3rd image.
14. devices according to claim 12, is characterized in that, described second replaces submodule is used for,
Identify the theme in described the first image;
For described the first image being carried out to convergent-divergent and/or intercepting according to described shape, make described theme be presented at the region at described picture identification information place, obtain the 4th image;
For the region at described picture identification information place is replaced with to described the 4th image.
15. 1 kinds of devices that image is synthetic, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the picture identification information of finding a view in picture;
According to described picture identification information, the region at described picture identification information place is replaced with to first image corresponding with described information;
The second image that generation comprises described the first image.
CN201410422415.8A 2014-08-25 2014-08-25 The method and device of image synthesis Active CN104156476B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410422415.8A CN104156476B (en) 2014-08-25 2014-08-25 The method and device of image synthesis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410422415.8A CN104156476B (en) 2014-08-25 2014-08-25 The method and device of image synthesis

Publications (2)

Publication Number Publication Date
CN104156476A true CN104156476A (en) 2014-11-19
CN104156476B CN104156476B (en) 2018-03-02

Family

ID=51881974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410422415.8A Active CN104156476B (en) 2014-08-25 2014-08-25 The method and device of image synthesis

Country Status (1)

Country Link
CN (1) CN104156476B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105787982A (en) * 2016-02-29 2016-07-20 腾讯科技(北京)有限公司 Method and device for manufacturing e-book
CN106327549A (en) * 2015-06-30 2017-01-11 阿里巴巴集团控股有限公司 Picture display method and device
CN106408536A (en) * 2016-09-14 2017-02-15 北京小米移动软件有限公司 Image synthesis method and device
CN106454093A (en) * 2016-10-18 2017-02-22 北京小米移动软件有限公司 Image processing method, image processing device and electronic equipment
CN108337432A (en) * 2018-03-16 2018-07-27 青岛海信移动通信技术股份有限公司 A kind of method, apparatus and storage medium of photograph taking

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794781A (en) * 2004-12-22 2006-06-28 乐金电子(中国)研究开发中心有限公司 Method for photomontage using mobile communication terminal
CN101042774A (en) * 2007-01-12 2007-09-26 林辅添 Method for making electronic card for new year
CN101315702A (en) * 2007-05-29 2008-12-03 翟卫东 Electronic album production method and device thereof
US20090204887A1 (en) * 2008-02-07 2009-08-13 International Business Machines Corporation Managing white space in a portal web page
CN101841662A (en) * 2010-04-16 2010-09-22 华为终端有限公司 Method for acquiring photo frame composite image by mobile terminal and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794781A (en) * 2004-12-22 2006-06-28 乐金电子(中国)研究开发中心有限公司 Method for photomontage using mobile communication terminal
CN101042774A (en) * 2007-01-12 2007-09-26 林辅添 Method for making electronic card for new year
CN101315702A (en) * 2007-05-29 2008-12-03 翟卫东 Electronic album production method and device thereof
US20090204887A1 (en) * 2008-02-07 2009-08-13 International Business Machines Corporation Managing white space in a portal web page
CN101841662A (en) * 2010-04-16 2010-09-22 华为终端有限公司 Method for acquiring photo frame composite image by mobile terminal and mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106327549A (en) * 2015-06-30 2017-01-11 阿里巴巴集团控股有限公司 Picture display method and device
CN105787982A (en) * 2016-02-29 2016-07-20 腾讯科技(北京)有限公司 Method and device for manufacturing e-book
CN105787982B (en) * 2016-02-29 2018-11-09 腾讯科技(北京)有限公司 A kind of method and apparatus making e-book
CN106408536A (en) * 2016-09-14 2017-02-15 北京小米移动软件有限公司 Image synthesis method and device
CN106454093A (en) * 2016-10-18 2017-02-22 北京小米移动软件有限公司 Image processing method, image processing device and electronic equipment
CN108337432A (en) * 2018-03-16 2018-07-27 青岛海信移动通信技术股份有限公司 A kind of method, apparatus and storage medium of photograph taking
CN108337432B (en) * 2018-03-16 2021-02-05 青岛海信移动通信技术股份有限公司 Photo shooting method and device and storage medium

Also Published As

Publication number Publication date
CN104156476B (en) 2018-03-02

Similar Documents

Publication Publication Date Title
US20170304735A1 (en) Method and Apparatus for Performing Live Broadcast on Game
CN103914634A (en) Image encryption method, image encryption device and electronic device
CN103927165A (en) Wallpaper picture processing method and device
CN104243819A (en) Photo acquiring method and device
CN104320708A (en) User right handling method and device of smart television
CN104700353A (en) Image filter generating method and device
CN104182313A (en) Photographing delay method and device
CN104156476A (en) Image synthesis method and device
CN103970576A (en) Installation information displaying method, obtaining method and device
CN104035674B (en) Picture displaying method and device
CN104978200A (en) Application program display method and device
CN103914148A (en) Function interface display method and device and terminal equipment
CN104869314A (en) Photographing method and device
CN105516587A (en) Method for switching cameras and mobile terminal
CN105203456A (en) Plant species identification method and apparatus thereof
CN104156993A (en) Method and device for switching face image in picture
CN104216525A (en) Method and device for mode control of camera application
CN106506948A (en) Flash lamp control method and device
CN104809204A (en) Picture processing method and picture processing device
CN105549300A (en) Automatic focusing method and device
CN104915104A (en) Display method and device of keyboard interface
CN104765163A (en) Framing information display method and device and intelligent glasses
CN105357449A (en) Shooting method and device, and image processing method and apparatus
CN103885678A (en) Method and device for displaying object
CN106231207B (en) Image processing method and device

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