CN110290329A - A kind of image composition method - Google Patents
A kind of image composition method Download PDFInfo
- Publication number
- CN110290329A CN110290329A CN201910723217.8A CN201910723217A CN110290329A CN 110290329 A CN110290329 A CN 110290329A CN 201910723217 A CN201910723217 A CN 201910723217A CN 110290329 A CN110290329 A CN 110290329A
- Authority
- CN
- China
- Prior art keywords
- image
- synthesized
- camera
- candid photograph
- composition method
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
- H04N23/632—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/265—Mixing
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a kind of image composition methods, comprising: image, the default feature captured image and have object to be synthesized are captured in acquisition;The first partial image with the default feature of the object to be synthesized is extracted from the candid photograph image, and determines the position of the corresponding object to be synthesized of the first partial image;Original image is acquired, the original image has the image of the object to be synthesized;The topography at the position of object to be synthesized described in the original image is replaced with into the first partial image, to synthesize target image.The present invention be able to solve when more personages take pictures because individual objects state is inconsistent, exercise not harmony or movement it is single situations such as caused by captured by image there are problems that flaw, so that shooting image achieves the desired results, and then improve the later period experience sense of reference object.
Description
Technical field
The present invention relates to image composing technique fields, more particularly to a kind of image composition method.
Background technique
Taken the photograph after present smart phone be substantially all there are two or more than two cameras, and in actual life, in meeting
View is taken a photograph, graduation is taken a photograph, group, company builds or the scenes such as annual meeting in will do it the movements of taking pictures of multiple faces, if these scenes
That takes a group photo together is fewer in number, and photographer can also capture down everyone interesting snap action;But if there is tens or several
Hundred people, then photographer is then difficult the state with respect to everyone.
In shooting process, photographer need to repeatedly emphasize password, and repeatedly be shot, and can just make everybody be on photo
Now good state, and the problems such as also resulted in that shooting is time-consuming more in this way, can not capture the snap action of interest;Furthermore
After number increases, everybody state be difficult to it is harmonious, such as others all be smile, someone but present it is transfixed or close one's eyes
Etc. abnormalities, and then influence reference object later period experience.
Summary of the invention
The technical problem to be solved by the present invention is shooting style in the prior art can not take everyone state into account,
So that there are various because reference object is in flaw caused by abnormality for captured image, to affect reference object
Later period experience.
In order to solve the above technical problems, the present invention provides a kind of image composition methods, comprising:
Image, the default feature captured image and have object to be synthesized are captured in acquisition;
The first partial image with the default feature of the object to be synthesized is extracted from the candid photograph image, and is determined
The position of the corresponding object to be synthesized of the first partial image;
Original image is acquired, the original image has the image of the object to be synthesized;
The topography at the position of object to be synthesized described in the original image is replaced with into the first partial
Image, to synthesize target image.
Preferably, the candid photograph image is acquired by candid photograph camera, and the original image is acquired by main camera.
Corresponding the candids photograph camera of each default feature presets the of feature by corresponding this of candid photograph camera acquisition
One topography.
Preferably, image, the default feature captured image and have object to be synthesized are captured in acquisition, comprising:
After equipment starts camera function, the candid photograph camera carries out auto-focusing;
The default feature corresponding with the candid photograph camera for capturing camera detection object to be synthesized;
In the case where detecting the default feature, the candid photograph camera is captured, to be synthesized right to obtain having
The candid photograph image of the default feature of elephant.
Preferably, the default feature includes face, smiling face and scissors hand.
Preferably, the main camera is in the case where equipment starts camera function and the user assigns shooting instruction
Acquire the original image.
Preferably, the topography at the position of object to be synthesized described in the original image is being replaced with into institute
Before stating first partial image, the method also includes: the first prompting frame of output, to prompt the user whether to need preview target figure
Picture.
Preferably, the image composition method further include: wait user to input by first prompting frame pre-
Look at instruction;
In the case where receiving the instruction for previewing of user's input, by object to be synthesized described in the original image
The topography at the position replace with the first partial image, to synthesize the preview image of the target image;
The method also includes: Xiang Suoshu user shows the preview image.
Preferably, the image composition method further include: the second prompting frame of output, to prompt the user whether to need to protect
Deposit the preview image.
Preferably, the image composition method further include: user is waited to pass through the guarantor that second prompting frame inputs
Deposit instruction;
In the case where receiving the preservation instruction of user's input, the preview image is saved, thus
To the target image.
Compared with prior art, one or more embodiments in above scheme can have following advantage or beneficial to effect
Fruit:
Using image composition method of the invention, it is able to solve when more personages take pictures because individual objects state is inconsistent, dynamic
Making the caused captured image of situations such as uncoordinated or movement is single has flaw, and shooting image is made to reach expected effect
Fruit, and then improve the later period experience sense of reference object.
Detailed description of the invention
The detailed description for reading hereafter exemplary embodiment in conjunction with the accompanying drawings is better understood the scope of the present disclosure.Its
In included attached drawing be:
Fig. 1 is the method flow diagram of the embodiment of the present invention;
Fig. 2 is the method flow diagram that image is captured in acquisition of the embodiment of the present invention;
Fig. 3 is the flow diagram of shooting and the image synthesis of the embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, come below with reference to accompanying drawings and embodiments detailed
Illustrate implementation method of the invention, whereby to how the invention applies technical means to solve technical problems, and reaches technology effect
The realization process of fruit can be fully understood and implemented.
Shooting style in the prior art can not take everyone state into account, so that there are various because clapping for captured image
It takes the photograph object and is in flaw caused by abnormality, to affect the later period experience of reference object.
The application provides a kind of image composition method, and Fig. 1 shows the method flow diagram of the embodiment of the present invention, such as Fig. 1 institute
Show, which mainly includes the following steps that S101 to step S108.
In step s101, image is captured in camera acquisition, the default feature that image has object to be synthesized is captured, into one
Step, which includes face, smiling face and scissors hand, which can be manually set, be carried out according to the scene at place
Feasibility option.
It captures image to be acquired by candid photograph camera, camera is captured by setting and individually captures the candid photograph image, captures mesh
Definitely, being also convenient for the later period carries out processing of tracing to the source to the candid photograph image.
Further, each default corresponding candid photograph camera of feature, it is pre- to correspond to this by candid photograph camera acquisition
If the first partial image of feature, multiple candid photograph cameras are shared out the work and help one another, and are taken pictures high-efficient.
Preferably, in step s101, i.e., image is captured in acquisition, captures the default feature that image has object to be synthesized,
Mainly include the following steps that S1011 to step S1013.
The method flow diagram for capturing image is acquired Fig. 2 shows the embodiment of the present invention, as shown in Fig. 2, in step S1011
In, after equipment starts camera function, captures camera and carry out auto-focusing, make reference object imaging clearly, the auto-focusing
Technology is the prior art, and details are not described herein again.
In step S1012, the default feature corresponding with the candid photograph camera of camera detection object to be synthesized is captured.
In step S1013, in the case where detecting the default feature, captures camera and captured, to be had
Need the candid photograph image of the default feature of synthetic object.
In the case where the default feature is not detected, which stops candid photograph movement, then being unable to get has
The candid photograph object of the default feature of the object to be synthesized, then the later period can not carry out synthesis target image work, and then can not make to clap
Image is taken the photograph to achieve the desired results.
In step s 102, the first partial image with the default feature of object to be synthesized is extracted from candid photograph image,
And determine the position of the corresponding object to be synthesized of the first partial image.
In step s 103, original image is acquired, original image has the image of object to be synthesized, specifically, this is original
Image is acquired by main camera, and the original image acquired by main camera, shooting angle is best, can show shooting pair
As best location status.
Further, main camera acquires original in the case where equipment starts camera function and user assigns shooting instruction
Image determines best shooting point by user.
To increase interest, synthesis can also allow user to go to complete manually, in step S104, the first prompt of mobile phone output
Frame, to prompt the user whether to need preview target image.
The image composition method further includes step S105, in step s105, user is waited to input by the first prompting frame
Instruction for previewing.
In the case where receiving the instruction for previewing of user's input, by the part at the position of object to be synthesized in original image
Image replaces with first partial image, to synthesize the preview image of target image.
The image composition method further includes step S106, in step s 106, shows preview image to user.
The image composition method further includes step S107, in step s 107, the second prompting frame is exported, to prompt user to be
It is no to need to save preview image.
The image composition method further includes step S108, in step S108, user is waited to input by the second prompting frame
Preservation instruction.
In the case where receiving the preservation instruction of user's input, preview image is saved, to obtain target figure
Picture, whole process are decided whether to save the preview image by user, effectively increase the experience sense of user.
Fig. 3 shows the flow diagram of shooting and the image synthesis of the embodiment of the present invention, as shown in figure 3, firstly, user
It opens mobile phone and carries out setting of taking pictures, and open modality for co-operation, i.e., carry out shooting work under multiple camera open states.
Then, user independently carries out that feature is default, and selection is suitable for the default feature of current scene.
Secondly, selection camera division of labor shooting, i.e. selection capture camera and capture the candid photograph image for meeting the default feature,
Select main camera shooting original image.
Again, user indicates starting camera function, then captures camera and carry out the automatic detection of default feature and capture dynamic
Make, the candid photograph image met the requirements, main camera is normally taken pictures and obtains original image;
Finally, carrying out characteristics of objects synthesis movement, target image is obtained.
Illustrate the practicability and validity of above-mentioned image composition method below by a specific example.
When group, shooting company builds picture, photographer opens mobile phone and takes pictures, and opens camera modality for co-operation, at this
Under camera modality for co-operation, photographer, which is arranged, captures camera and main camera, when presetting the default feature is smiling face, that is, adjusts
Whole smiling face captures smiling face's image of camera acquisition face, the original image in the case of main camera acquisition normal photographing.
At this point, mobile phone starts camera function, smiling face captures camera and carries out auto-focusing to all colleagues, so that each same
Clear state is presented in thing, and then, smiling face captures the countenance of each colleague of camera detection, when it detects some colleague
Face when revealing a joyful face, that is, carry out candid photograph movement, be automatically performed the work of taking pictures of the colleague, and collected candid photograph image
With object be mark saved (with object be mark be just to discriminate between different colleagues, i.e., when capture arrive smiling face when, by smiling face's number
The mark of some colleague is saved accordingly, indicates that this smiling face belongs to this colleague).
After mobile phone starts camera function, main camera completes normal condition when user actively presses shutter or other instructions
Under take pictures, and form original image.
Finally, collected candid photograph image is matched with original image, finding in the candid photograph image has smiling face's
Position of the colleague in the original image, and the face image of the colleague of the not smiling face in original image is replaced with this and is grabbed
The face image that the colleague in image has smiling face is clapped, image synthesis movement is repeated, and then synthesizes all colleagues and presents and laugh at
The group of face-like state builds picture.
To increase interest, colleague can also be allowed to indicate that synthesizing the group builds picture manually.Original is taken in main camera
The original image is just saved after beginning image, before colleague synthesizes target image, mobile phone exports the first prompting frame, whether prompts colleague
Need preview target image, if the original image does not have corresponding candid photograph image, can not the preview target image, that is to say,
It is bright to synthesize target image;If being able to carry out preview, then it represents that target image can be synthesized, then when receive colleague input
Instruction for previewing after, mobile phone just carries out image synthesis movement, by the face image for not having the colleague of smiling face in original image replace
To capture the face image that the colleague in image has smiling face, and the target image after preview synthesis;At this point, mobile phone output second
Prompting frame, prompt colleague whether needs to save the preview image, when mobile phone receive colleague input need to save the preview graph
When the preservation instruction of picture, mobile phone carries out preservation movement, then the target image that the preview image namely finally synthesizes, entire
In the process, it is added to and the instruction synthesized is independently selected to act by user, the sense of participation of user is effectively increased, so that whole process
More interesting, user experience is high.
While it is disclosed that embodiment content as above but described only to facilitate understanding the present invention and adopting
Embodiment is not intended to limit the invention.Any those skilled in the art to which this invention pertains are not departing from this
Under the premise of the disclosed spirit and scope of invention, any modification and change can be made in the implementing form and in details,
But protection scope of the present invention still should be subject to the scope of the claims as defined in the appended claims.
Claims (10)
1. a kind of image composition method characterized by comprising
Image, the default feature captured image and have object to be synthesized are captured in acquisition;
Extract the first partial image with the default feature of the object to be synthesized from the candid photograph image, and determine this
The position of the corresponding object to be synthesized of one topography;
Original image is acquired, the original image has the image of the object to be synthesized;
The topography at the position of object to be synthesized described in the original image is replaced with into the first partial image,
To synthesize target image.
2. image composition method according to claim 1, which is characterized in that the candid photograph image is adopted by candid photograph camera
Collection, the original image are acquired by main camera.
3. image composition method according to claim 2, which is characterized in that each default corresponding candid photograph of feature is taken the photograph
As head, by the first partial image of the corresponding default feature of candid photograph camera acquisition.
4. image composition method according to claim 3, which is characterized in that image, the candid photograph image tool are captured in acquisition
Need the default feature of synthetic object, comprising:
After equipment starts camera function, the candid photograph camera carries out auto-focusing;
The default feature corresponding with the candid photograph camera for capturing camera detection object to be synthesized;
In the case where detecting the default feature, the candid photograph camera is captured, to obtain having object to be synthesized
The candid photograph image of default feature.
5. image composition method according to claim 1, which is characterized in that the default feature includes face, Xiao Lianhe
Scissors hand.
6. image composition method according to claim 2, which is characterized in that the main camera starts camera shooting function in equipment
Energy and the user acquire the original image in the case where assigning shooting instruction.
7. image composition method according to any one of claim 1 to 6, which is characterized in that by the original image
Described in object to be synthesized the position topography replace with the first partial image before, the method is also wrapped
It includes: the first prompting frame of output, to prompt the user whether to need preview target image.
8. image composition method according to claim 7, which is characterized in that further include: wait user to pass through described first
The instruction for previewing of prompting frame input;
In the case where receiving the instruction for previewing of user's input, by the institute of object to be synthesized described in the original image
The topography for stating position replaces with the first partial image, to synthesize the preview image of the target image;
The method also includes: Xiang Suoshu user shows the preview image.
9. image composition method according to claim 8, which is characterized in that further include: the second prompting frame of output, with prompt
Whether user needs to save the preview image.
10. image composition method according to claim 9, which is characterized in that further include: wait user to pass through described second
The preservation instruction of prompting frame input;
In the case where receiving the preservation instruction of user's input, the preview image is saved, to obtain institute
State target image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910723217.8A CN110290329A (en) | 2019-08-06 | 2019-08-06 | A kind of image composition method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910723217.8A CN110290329A (en) | 2019-08-06 | 2019-08-06 | A kind of image composition method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110290329A true CN110290329A (en) | 2019-09-27 |
Family
ID=68024961
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910723217.8A Pending CN110290329A (en) | 2019-08-06 | 2019-08-06 | A kind of image composition method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110290329A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112135043A (en) * | 2020-09-21 | 2020-12-25 | 珠海格力电器股份有限公司 | Method and apparatus for synthesizing photograph, storage medium, and electronic apparatus |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102622740A (en) * | 2011-01-28 | 2012-08-01 | 鸿富锦精密工业(深圳)有限公司 | Anti-eye-closure portrait shooting system and method |
CN103747180A (en) * | 2014-01-07 | 2014-04-23 | 宇龙计算机通信科技(深圳)有限公司 | Photo shooting method and photographing terminal |
CN104170371A (en) * | 2014-01-03 | 2014-11-26 | 华为终端有限公司 | Method of realizing self-service group photo and photographic device |
CN106454121A (en) * | 2016-11-11 | 2017-02-22 | 努比亚技术有限公司 | Double-camera shooting method and device |
CN107451953A (en) * | 2017-08-07 | 2017-12-08 | 珠海格力电器股份有限公司 | One kind group photo photograph generation method and its device, electronic equipment |
US10129479B2 (en) * | 2013-12-27 | 2018-11-13 | Ricoh Imaging Company, Ltd. | Photographing apparatus and photographing method with optical low-pass filter effect |
CN108961158A (en) * | 2017-05-17 | 2018-12-07 | 中国移动通信有限公司研究院 | A kind of image composition method and device |
CN110062171A (en) * | 2019-05-31 | 2019-07-26 | 维沃移动通信(杭州)有限公司 | A kind of image pickup method and terminal |
-
2019
- 2019-08-06 CN CN201910723217.8A patent/CN110290329A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102622740A (en) * | 2011-01-28 | 2012-08-01 | 鸿富锦精密工业(深圳)有限公司 | Anti-eye-closure portrait shooting system and method |
US10129479B2 (en) * | 2013-12-27 | 2018-11-13 | Ricoh Imaging Company, Ltd. | Photographing apparatus and photographing method with optical low-pass filter effect |
CN104170371A (en) * | 2014-01-03 | 2014-11-26 | 华为终端有限公司 | Method of realizing self-service group photo and photographic device |
CN103747180A (en) * | 2014-01-07 | 2014-04-23 | 宇龙计算机通信科技(深圳)有限公司 | Photo shooting method and photographing terminal |
CN106454121A (en) * | 2016-11-11 | 2017-02-22 | 努比亚技术有限公司 | Double-camera shooting method and device |
CN108961158A (en) * | 2017-05-17 | 2018-12-07 | 中国移动通信有限公司研究院 | A kind of image composition method and device |
CN107451953A (en) * | 2017-08-07 | 2017-12-08 | 珠海格力电器股份有限公司 | One kind group photo photograph generation method and its device, electronic equipment |
CN110062171A (en) * | 2019-05-31 | 2019-07-26 | 维沃移动通信(杭州)有限公司 | A kind of image pickup method and terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112135043A (en) * | 2020-09-21 | 2020-12-25 | 珠海格力电器股份有限公司 | Method and apparatus for synthesizing photograph, storage medium, and electronic apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109671106B (en) | Image processing method, device and equipment | |
KR101573131B1 (en) | Method and apparatus for capturing images | |
KR101795601B1 (en) | Apparatus and method for processing image, and computer-readable storage medium | |
KR101692399B1 (en) | Digital image processing apparatus and digital image processing method | |
US20140092272A1 (en) | Apparatus and method for capturing multi-focus image using continuous auto focus | |
CN103685940A (en) | Method for recognizing shot photos by facial expressions | |
Aksoy et al. | A dataset of flash and ambient illumination pairs from the crowd | |
US8988545B2 (en) | Digital photographing apparatus and method of controlling the same | |
WO2012116178A1 (en) | Image capture and post-capture processing | |
JP6149854B2 (en) | Imaging apparatus, imaging control method, and program | |
JP2001127990A (en) | Information communication system | |
US20130022261A1 (en) | Systems and methods for evaluating images | |
TW201017556A (en) | Method of identifying the dimension of a shot subject | |
CN110809797B (en) | Micro video system, format and generation method | |
CN110290329A (en) | A kind of image composition method | |
JP6033006B2 (en) | Image processing apparatus, control method thereof, control program, and imaging apparatus | |
JP2008172395A (en) | Imaging apparatus and image processing apparatus, method, and program | |
JP2007226606A (en) | Imaging apparatus, image output method, reproduction apparatus, program, and storage medium | |
JP4844073B2 (en) | Imaging device | |
CN101655659A (en) | Method and device for 360-degree panorama shooting by mobile phone | |
JP2017147764A (en) | Image processing apparatus, image processing method, and program | |
CN112188085B (en) | Image processing method and handheld pan-tilt camera | |
JP5045792B2 (en) | Imaging apparatus and program | |
US20210289116A1 (en) | Image processing apparatus and image processing method | |
WO2024092526A1 (en) | Control device for camera, and camera |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190927 |