CN106375662A - Photographing method and device based on double cameras, and mobile terminal - Google Patents

Photographing method and device based on double cameras, and mobile terminal Download PDF

Info

Publication number
CN106375662A
CN106375662A CN201610840250.5A CN201610840250A CN106375662A CN 106375662 A CN106375662 A CN 106375662A CN 201610840250 A CN201610840250 A CN 201610840250A CN 106375662 A CN106375662 A CN 106375662A
Authority
CN
China
Prior art keywords
image
collection
photographic head
foreground
area
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
CN201610840250.5A
Other languages
Chinese (zh)
Other versions
CN106375662B (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610840250.5A priority Critical patent/CN106375662B/en
Priority to PCT/CN2016/104069 priority patent/WO2018053906A1/en
Publication of CN106375662A publication Critical patent/CN106375662A/en
Application granted granted Critical
Publication of CN106375662B publication Critical patent/CN106375662B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/957Light-field or plenoptic cameras or camera modules

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a photographing method and device based on double cameras, and a mobile terminal. The method comprises the steps of obtaining an image collected by a first camera and the image collected by a second camera; carrying out foreground area and background area division on the image collected by the first camera and the image collected by the second camera; carrying out foreground area removal on the image collected by the first camera, thereby forming a background image; carrying out background area removal on the image collected by the second camera, thereby forming a foreground image; and synthesizing the background image and the foreground image according to set attitudes, thereby forming a final image. According to the method, the device and the mobile terminal, the attitudes of the foreground and background in a photographing scene can be adjusted dynamically in real time, operations are convenient and fast, the interestingness is high, and the photographing experience of a user is improved to the greatest extent.

Description

A kind of image pickup method based on dual camera, device and mobile terminal
Technical field
The present invention relates to technical field of image processing, more particularly, to a kind of image pickup method based on dual camera, device and Mobile terminal.
Background technology
Configuration with mobile terminal and the continuous lifting of performance, occur having double front photographic head or double rear photographic head Mobile terminal, especially field of mobile phones, most of mobile phone all has the configuration of double rear photographic head.But, current mobile phone is using double The main purpose of photographic head is to lift effect of taking pictures afterwards, and lacks the work(carrying out differentiation process by double rear photographic head Energy.User, can only be by third party's image processing software, example as being adjusted to the foreground and background in a photo processing Such as, photoshop, in graphic detail etc..Therefore, it is impossible in real time, the imaging attitude dynamically adjusting in background and prospect.
Content of the invention
Present invention is primarily targeted at providing a kind of image pickup method based on dual camera, device and mobile terminal, The attitude of prospect and background in image is dynamically adjusted in shooting process.
The technical solution used in the present invention is, the described image pickup method based on dual camera, comprising:
Obtain the image of the first photographic head collection and the image of second camera collection;
Respectively foreground area is carried out to the described image of the first photographic head collection and the image of described second camera collection Division with background area;
The image that described first photographic head is gathered carries out foreground area and removes process, forms background image;To described The image of two photographic head collections carries out background area and removes process, forms foreground image;
Described background image and described foreground image are synthesized according to the attitude setting, is formed final image.
Further, the image of the described image to described first photographic head collection and the collection of described second camera respectively Carry out foreground area and the division of background area, comprising:
Judge whether comprise personage in the described image of the first photographic head collection and the image of described second camera collection If so, described people's object area is then set to image and the collection of described second camera of described first photographic head collection by region Image foreground area, described first photographic head collection image and described second camera collection image in remaining area Domain is set to background area;If it is not, each pixel then calculating in the image that described first photographic head gathers images to first First distance value of head, based on described first distance value, the image division by described first photographic head collection be foreground area and Background area, and calculate each pixel in the image of described second camera collection to the second distance of second camera Value, based on described second distance value, the image division by the collection of described second camera is foreground area and background area.
Further, the described image to described first photographic head collection carries out foreground area and removes process, forms background Image, comprising:
Delete the content of the foreground area in the image of described first photographic head collection, and adopted according to described first photographic head The content of the background area in the image of collection is filled with to described foreground area, forms the background image of content intact.
Further, the described image to the collection of described second camera carries out background area and removes process, forms prospect Image, comprising:
Delete the content of the background area in the image of described second camera collection, formed and only retain described second shooting The foreground image of the content of foreground area in the image of head collection.
Further, described described background image and described foreground image are synthesized according to the attitude setting, formed Final image, comprising:
By described foreground image according to set position be positioned in described background image, and to described foreground image and/ Or described background image zooms in and out adjustment and/or rotation adjustment, with shape final image.
The present invention also provides a kind of filming apparatus based on dual camera, comprising:
Acquisition module, for obtaining the image of the first photographic head collection and the image of second camera collection;
Division module, for the image of the image to described first photographic head collection and the collection of described second camera respectively Carry out foreground area and the division of background area;
Processing module, the image for gathering to described first photographic head carries out foreground area and removes process, forms background Image;The image that described second camera is gathered carries out background area and removes process, forms foreground image;
Synthesis module, for being synthesized described background image and described foreground image according to the attitude setting, forms Final image.
Further, described division module, specifically for:
Judge whether comprise personage in the described image of the first photographic head collection and the image of described second camera collection If so, described people's object area is then set to image and the collection of described second camera of described first photographic head collection by region Image foreground area, described first photographic head collection image and described second camera collection image in remaining area Domain is set to background area;If it is not, each pixel then calculating in the image that described first photographic head gathers images to first First distance value of head, based on described first distance value, the image division by described first photographic head collection be foreground area and Background area, and calculate each pixel in the image of described second camera collection to the second distance of second camera Value, based on described second distance value, the image division by the collection of described second camera is foreground area and background area.
Further, described processing module, comprising: perspective process unit and background process unit;
Described perspective process unit, for deleting the content of the foreground area in the image that described first photographic head gathers, And according to the content of the background area in the image of described first photographic head collection, described foreground area is filled with, formed interior Hold complete background image;
Described background process unit, for deleting the content of the background area in the image that described second camera gathers, Form the foreground image of the content of foreground area in the image only retaining described second camera collection.
Further, described synthesis module, specifically for:
By described foreground image according to set position be positioned in described background image, and to described foreground image and/ Or described background image zooms in and out adjustment and/or rotation adjustment, with shape final image.
The present invention also provides a kind of mobile terminal, comprising: double front photographic head or double rear photographic head, and claim 6~9 Any one of the filming apparatus based on dual camera.
The present invention has the beneficial effect that:
Image pickup method based on dual camera of the present invention, device and mobile terminal, user using have double before or When after person is double, the mobile terminal of photographic head is taken pictures or recorded a video, a photographic head generates the background painting only having in photographed scene The background image in face, in addition photographic head generate the foreground image of the foreground picture only having in photographed scene, then will be described before Scape image is incorporated in background image in editable mode.End user adjusts the attitude of foreground image and background image, is formed Meet photo or the video of user's requirement.The present invention can in real time, the foreground and background that dynamically adjusts in photographed scene Attitude, simple operation, interest are strong, farthest improve the shooting experience of user.
Brief description
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this Bright schematic description and description is used for explaining the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the image pickup method based on dual camera of first embodiment of the invention;
Fig. 2 is the flow chart of the image pickup method based on dual camera of second embodiment of the invention;
Fig. 3 is the composition structural representation of the filming apparatus based on dual camera of third embodiment of the invention;
Fig. 4 is the composition structural representation of the filming apparatus based on dual camera of fourth embodiment of the invention.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with drawings and the specific embodiments, to this Invention is described in further detail.
A kind of first embodiment of the present invention, there is provided image pickup method based on dual camera, as shown in figure 1, include with Lower concrete steps:
Step s101: obtain the image of the first photographic head collection and the image of second camera collection.
After described first photographic head and double proactive picture that second camera is a certain mobile terminal or double rear photographic head.Have The mobile terminal of double front photographic head is to be provided with two front-facing cameras on the mobile terminal.There is the shifting of double rear photographic head Dynamic terminal is to be provided with two post-positioned pick-up heads on the mobile terminal.When described a certain mobile terminal is shot, lead to Cross the first photographic head and second camera collects two images respectively.
Step s102: respectively the described image of the first photographic head collection and the image of described second camera collection are carried out Foreground area and the division of background area.
Prospect refers to the scenery of close photographic head or the personage before the main body in image, and background refers to positioned at image In main body after, away from the scenery of photographic head.
Specifically, step s102, comprising:
Judge whether comprise personage in the described image of the first photographic head collection and the image of described second camera collection If so, described people's object area is then set to image and the collection of described second camera of described first photographic head collection by region Image foreground area, described first photographic head collection image and described second camera collection image in remaining area Domain is set to background area;If it is not, each pixel then calculating in the image that described first photographic head gathers images to first First distance value of head, based on described first distance value, the image division by described first photographic head collection be foreground area and Background area, and calculate each pixel in the image of described second camera collection to the second distance of second camera Value, based on described second distance value, the image division by the collection of described second camera is foreground area and background area.
Step s103: the image that described first photographic head is gathered carries out foreground area and removes process, forms background image; The image that described second camera is gathered carries out background area and removes process, forms foreground image.
Specifically, the described image to described first photographic head collection carries out foreground area and removes process, forms Background Picture, comprising:
Delete the content of the foreground area in the image of described first photographic head collection, and adopted according to described first photographic head The content of the background area in the image of collection is filled with to described foreground area, forms the background image of content intact.
Because, after deleting the content of foreground area in the image that described first photographic head gathers, described first photographic head is adopted Foreground area in the image of collection does not have pattern and color, needs using the background area in the image of described first photographic head collection The pattern in domain and color are filled with to foreground area, so that the picture of described background image is complete.
The described image to the collection of described second camera carries out background area and removes process, forms foreground image, comprising:
Delete the content of the background area in the image of described second camera collection, formed and only retain described second shooting The foreground image of the content of foreground area in the image of head collection.
Step s104: described background image and described foreground image are synthesized according to the attitude setting, is formed final Image.
Specifically, step s104, comprising:
By described foreground image according to set position be positioned in described background image, and to described foreground image and/ Or described background image zooms in and out adjustment and/or rotation adjustment, with shape final image.
A kind of second embodiment of the present invention, there is provided image pickup method based on dual camera, as shown in Fig. 2 include with Lower concrete steps:
Step s201: double front photographic head or double rear photographic head are carried out with the setting of screening-mode.If screening-mode is arranged For adjust foreground and background attitude screening-mode, then execution step s202, if screening-mode is set to common screening-mode, Then conventionally shot using double front photographic head or double rear photographic head.
The mobile terminal with double front photographic head is to be provided with two front-facing cameras on the mobile terminal.Have double The mobile terminal of photographic head is to be provided with two post-positioned pick-up heads on the mobile terminal afterwards.
Step s202: function setting is carried out to double front photographic head or double rear photographic head.One photographic head of setting is used for being formed Foreground image, another photographic head is used for forming background image.
In the present embodiment, the first photographic head is provided for forming the photographic head of background image, by second camera It is provided for forming the photographic head of foreground image.
Step s203: by the double front photographic head or double rear photographic head setting, a certain scene is shot, closed Two images in described a certain scene.
Step s204: respectively described two images are carried out with foreground area and the division of background area.
Generally, it is all that personage is combined with landscape in the image that user shoots, and using personage as the main body in image, Landscape is as the background in image.Shooting custom based on user, first determines whether whether to comprise people's object area in image, if so, Then described people's object area is set to the foreground area of described image, remaining region in described image is set to background area; If it is not, then calculating the distance value of each pixel in image, described distance value is for each pixel in image to collection institute State the distance of the photographic head of image, based on the distance value of each pixel in described image, described image is divided into prospect Region and background area.
Further, the described distance value based on each pixel in described image, described image is divided into prospect Region and background area, comprising:
Based on the distance value of each pixel in described image, described image is divided into multiple connected regions, each is even The distance between each pixel in logical area difference is all in set point;
Calculate the average distance value of each connected region, the minimum connected region of average distance value is set to foreground area, will Other regions in described image are set to background area.
Step s205 a: image is carried out with foreground area and removes process, form background image;Another one image is entered Row background area removes process, forms foreground image.
Specifically, according to the function setting in step s202, double front photographic head or double rear photographic head being carried out, first is taken the photograph As head acquired image is processed as follows:
Step a1: delete the content of the foreground area in described image, when the content of the foreground area in image is deleted, The foreground area of described image defines the patternless region of black.
Step a2: extract the profile of the background area in described image, according to the profile of the background area in described image Module topology is carried out to described foreground area, with foreground area described in topological Contour filling so that described foreground area has opens up Flutter profile skeleton.
Step a3: using the content of the background area in described image, by filling algorithm and algorithm of generating layered regions, gradually By the fills of described background area to the described foreground area with topological profile skeleton, ultimately form the back of the body of content intact Scape image.
According to the function setting in step s202, double front photographic head or double rear photographic head being carried out, second camera is adopted The image of collection is processed as follows:
Delete the content of the background area in described image, form the foreground image only retaining the content of foreground area.
Step s206: according to position relationship and the scale of foreground image and background image in former shooting image, by institute State foreground image to be positioned in described background image.
Step s207: pose adjustment is carried out to described foreground image and background image, to form final image.
Specifically, described pose adjustment includes: adjustment position in background image for the foreground image, and to foreground image Zoom in and out adjustment, rotation adjustment with background image.
A kind of third embodiment of the present invention, there is provided filming apparatus based on dual camera, as shown in figure 3, include with Lower ingredient:
Acquisition module 301, for obtaining the image of the first photographic head collection and the image of second camera collection.
Specifically, described first photographic head and second camera are the double front photographic head on mobile terminal or double rear shooting Head.Taking mobile phone as a example, the mobile phone with double front photographic head or double rear photographic head when a certain scene is taken pictures and is imaged, institute State on mobile phone two photographic head and collect two images with regard to a certain scene.
Division module 302, gathers for the image to described first photographic head collection respectively and described second camera Image carries out foreground area and the division of background area.
Prospect refers to the scenery of close photographic head or the personage before the main body in image, and background refers to positioned at image In main body after, away from the scenery of photographic head.
Specifically, division module 302, specifically for
Judge whether comprise personage in the described image of the first photographic head collection and the image of described second camera collection If so, described people's object area is then set to image and the collection of described second camera of described first photographic head collection by region Image foreground area, described first photographic head collection image and described second camera collection image in remaining area Domain is set to background area;If it is not, each pixel then calculating in the image that described first photographic head gathers images to first First distance value of head, based on described first distance value, the image division by described first photographic head collection be foreground area and Background area, and calculate each pixel in the image of described second camera collection to the second distance of second camera Value, based on described second distance value, the image division by the collection of described second camera is foreground area and background area.
Processing module 303, the image for gathering to described first photographic head carries out foreground area and removes process, forms the back of the body Scape image;The image that described second camera is gathered carries out background area and removes process, forms foreground image.
Specifically, processing module 303, comprising: perspective process unit and background process unit;
Described perspective process unit, for deleting the content of the foreground area in the image that described first photographic head gathers, And according to the content of the background area in the image of described first photographic head collection, described foreground area is filled with, formed interior Hold complete background image;
Described background process unit, for deleting the content of the background area in the image that described second camera gathers, Form the foreground image of the content of foreground area in the image only retaining described second camera collection.
Synthesis module 304, for described background image and described foreground image are synthesized according to the attitude setting, shape Become final image.
Specifically, synthesis module 304, specifically for:
By described foreground image according to set position be positioned in described background image, and to described foreground image and/ Or described background image zooms in and out adjustment and/or rotation adjustment, with shape final image.
A kind of fourth embodiment of the present invention, there is provided filming apparatus based on dual camera, as shown in figure 4, include with Lower ingredient:
Screening-mode setup module 401, for carrying out the setting of screening-mode to double front photographic head or double rear photographic head.If Screening-mode is set to adjust the screening-mode of foreground and background attitude, then Trigger Function setup module 402, if mould will be shot Formula is set to common screening-mode, then conventionally shot using double front photographic head or double rear photographic head.
Function setting module 402, for carrying out function setting to double front photographic head or double rear photographic head.One shooting of setting Head is used for forming foreground image, and another photographic head is used for forming background image.
In the present embodiment, the first photographic head is provided for forming the photographic head of background image, by second camera It is provided for forming the photographic head of foreground image.
Taking module 403, shoots to a certain scene for the double front photographic head by setting or double rear photographic head, Obtain two images with regard to described a certain scene.
Division module 404, for carrying out foreground area and the division of background area respectively to described two images.
Generally, it is all that personage is combined with landscape in the image that user shoots, and using personage as the main body in image, Landscape is as the background in image.Shooting custom based on user, first determines whether whether to comprise people's object area in image, if so, Then described people's object area is set to the foreground area of described image, remaining region in described image is set to background area; If it is not, then calculating the distance value of each pixel in image, described distance value is for each pixel in image to collection institute State the distance of the photographic head of image, based on the distance value of each pixel in image, described image is divided into foreground area And background area.
Specifically, division module 404, specifically for:
Based on the distance value of each pixel in image, described image is divided into multiple connected regions, each connected region In the distance between each pixel difference all in set point;
Calculate the average distance value of each connected region, the minimum connected region of average distance value is set to foreground area, will Other regions in described image are set to background area.
Processing module 405, removes process for an image is carried out with foreground area, forms background image;To other one Individual image carries out background area and removes process, forms foreground image.
Specifically, described processing module 405, comprising: perspective process unit and background process unit;
According in function setting module 402, function setting is carried out to double front photographic head or double rear photographic head, take the photograph for first Picture head acquired image, described perspective process unit, specifically for:
Delete the content of the foreground area in described image, when the content of the foreground area in image is deleted, described figure The foreground area of picture defines the patternless region of black.
Extract the profile of the background area in described image, the profile according to the background area in described image is to before described Scene area carries out module topology, with foreground area described in topological Contour filling so that described foreground area has topological profile bone Frame.
Using the content of the background area in described image, by filling algorithm and algorithm of generating layered regions, gradually will be described The fills of background area, to the described foreground area with topological profile skeleton, ultimately form the Background of content intact Picture.
According in function setting module 402, function setting is carried out to double front photographic head or double rear photographic head, take the photograph for second Picture head acquired image, described background process unit, specifically for:
Delete the content of the background area in described image, form the foreground image only retaining the content of foreground area.
Image synthesis unit 406, for according to the position relationship of foreground image and background image in former shooting image and ratio Example size, described foreground image is positioned in described background image.
Pose adjustment module 407, for pose adjustment is carried out to described foreground image and background image, final to be formed Image.
Specifically, described pose adjustment includes: adjustment position in background image for the foreground image, and to foreground image Zoom in and out adjustment, rotation adjustment with background image.
The fifth embodiment of the present invention, a kind of mobile terminal, comprising: double front photographic head or double rear photographic head, and this The filming apparatus based on dual camera introduced in bright 3rd embodiment or fourth embodiment.There is the movement of double front photographic head Terminal is to be provided with two front-facing cameras on the mobile terminal;The mobile terminal with double rear photographic head is in described shifting Two post-positioned pick-up heads are provided with dynamic terminal.
The image pickup method based on dual camera, device and the mobile terminal introduced in the embodiment of the present invention, user is using tool When the mobile terminal having double front or double rear photographic head is taken pictures or recorded a video, a photographic head generates to be only had in photographed scene Background frame background image, in addition photographic head generate the foreground image of the foreground picture only having in photographed scene, then Described foreground image is incorporated in background image in editable mode.End user adjusts the appearance of foreground image and background image State, forms the photo meeting user's requirement or video.The present invention can in real time, dynamically adjust prospect in photographed scene and The attitude of background, simple operation, interest are strong, farthest improve the shooting experience of user.
The foregoing is only embodiments of the invention, be not limited to the present invention, for those skilled in the art For member, the present invention can have various modifications and variations.All any modifications within the spirit and principles in the present invention, made, Equivalent, improvement etc., should be included within scope of the presently claimed invention.

Claims (10)

1. a kind of image pickup method based on dual camera is it is characterised in that include:
Obtain the image of the first photographic head collection and the image of second camera collection;
Respectively foreground area and the back of the body are carried out to the described image of the first photographic head collection and the image of described second camera collection The division of scene area;
The image that described first photographic head is gathered carries out foreground area and removes process, forms background image;Take the photograph to described second Remove process as the image of head collection carries out background area, form foreground image;
Described background image and described foreground image are synthesized according to the attitude setting, is formed final image.
2. the image pickup method based on dual camera according to claim 1 it is characterised in that described respectively to described first The image of the image of photographic head collection and the collection of described second camera carries out foreground area and the division of background area, comprising:
Judge whether comprise people's object area in the described image of the first photographic head collection and the image of described second camera collection, If so, then described people's object area is set to the image of described first photographic head collection and the image of described second camera collection Foreground area, described first photographic head collection image and described second camera collection image in remaining region setting For background area;If it is not, each pixel in then calculating the image of described first photographic head collection is to the of the first photographic head One distance value, based on described first distance value, the image division by described first photographic head collection is foreground area and background area Domain, and calculate each pixel in the image of described second camera collection to the second distance value of second camera, it is based on Described second distance value, the image division by the collection of described second camera is foreground area and background area.
3. the image pickup method based on dual camera according to claim 1 is it is characterised in that described image to described first The image of head collection carries out foreground area and removes process, forms background image, comprising:
Delete the content of the foreground area in the image of described first photographic head collection, and according to described first photographic head collection The content of the background area in image is filled with to described foreground area, forms the background image of content intact.
4. the image pickup method based on dual camera according to claim 1 is it is characterised in that described image to described second The image of head collection carries out background area and removes process, forms foreground image, comprising:
Delete the content of the background area in the image of described second camera collection, formation only retains described second camera and adopts The foreground image of the content of foreground area in the image of collection.
5. the image pickup method based on dual camera according to claim 1 it is characterised in that described by described background image Synthesized according to the attitude setting with described foreground image, formed final image, comprising:
Described foreground image is positioned in described background image according to the position setting, and to described foreground image and/or institute State background image and zoom in and out adjustment and/or rotation adjustment, with shape final image.
6. a kind of filming apparatus based on dual camera are it is characterised in that include:
Acquisition module, for obtaining the image of the first photographic head collection and the image of second camera collection;
Division module, for carrying out to the described image of the first photographic head collection and the image of described second camera collection respectively Foreground area and the division of background area;
Processing module, the image for gathering to described first photographic head carries out foreground area and removes process, forms background image; The image that described second camera is gathered carries out background area and removes process, forms foreground image;
Synthesis module, for being synthesized described background image and described foreground image according to the attitude setting, forms final Image.
7. the filming apparatus based on dual camera according to claim 6 are it is characterised in that described division module, specifically For:
Judge whether comprise people's object area in the described image of the first photographic head collection and the image of described second camera collection, If so, then described people's object area is set to the image of described first photographic head collection and the image of described second camera collection Foreground area, described first photographic head collection image and described second camera collection image in remaining region setting For background area;If it is not, each pixel in then calculating the image of described first photographic head collection is to the of the first photographic head One distance value, based on described first distance value, the image division by described first photographic head collection is foreground area and background area Domain, and calculate each pixel in the image of described second camera collection to the second distance value of second camera, it is based on Described second distance value, the image division by the collection of described second camera is foreground area and background area.
8. the filming apparatus based on dual camera according to claim 6 are it is characterised in that described processing module, comprising: Perspective process unit and background process unit;
Described perspective process unit, for deleting the content of the foreground area in the image that described first photographic head gathers, and root Content according to the background area in the image of described first photographic head collection is filled with to described foreground area, forms content complete Whole background image;
Described background process unit, for deleting the content of the background area in the image that described second camera gathers, forms Only retain the foreground image of the content of foreground area in the image of described second camera collection.
9. the filming apparatus based on dual camera according to claim 6 are it is characterised in that described synthesis module, specifically For:
Described foreground image is positioned in described background image according to the position setting, and to described foreground image and/or institute State background image and zoom in and out adjustment and/or rotation adjustment, with shape final image.
10. a kind of mobile terminal is it is characterised in that include: double front photographic head or double rear photographic head, and in claim 6~9 The filming apparatus based on dual camera described in any one.
CN201610840250.5A 2016-09-22 2016-09-22 A kind of image pickup method based on dual camera, device and mobile terminal Active CN106375662B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610840250.5A CN106375662B (en) 2016-09-22 2016-09-22 A kind of image pickup method based on dual camera, device and mobile terminal
PCT/CN2016/104069 WO2018053906A1 (en) 2016-09-22 2016-10-31 Dual camera-based shooting method and device, and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610840250.5A CN106375662B (en) 2016-09-22 2016-09-22 A kind of image pickup method based on dual camera, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106375662A true CN106375662A (en) 2017-02-01
CN106375662B CN106375662B (en) 2019-04-12

Family

ID=57898025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610840250.5A Active CN106375662B (en) 2016-09-22 2016-09-22 A kind of image pickup method based on dual camera, device and mobile terminal

Country Status (2)

Country Link
CN (1) CN106375662B (en)
WO (1) WO2018053906A1 (en)

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851113A (en) * 2017-03-30 2017-06-13 努比亚技术有限公司 A kind of photographic method and mobile terminal based on dual camera
CN107133939A (en) * 2017-04-24 2017-09-05 努比亚技术有限公司 A kind of picture synthesis method, equipment and computer-readable recording medium
CN107767430A (en) * 2017-09-21 2018-03-06 努比亚技术有限公司 One kind shooting processing method, terminal and computer-readable recording medium
CN108322644A (en) * 2018-01-18 2018-07-24 努比亚技术有限公司 A kind of image processing method, mobile terminal and computer readable storage medium
CN108810326A (en) * 2017-04-27 2018-11-13 中兴通讯股份有限公司 A kind of photographic method, device and mobile terminal
CN108965695A (en) * 2018-06-27 2018-12-07 努比亚技术有限公司 A kind of image pickup method, mobile terminal and computer readable storage medium
CN109218630A (en) * 2017-07-06 2019-01-15 腾讯科技(深圳)有限公司 A kind of method for processing multimedia information and device, terminal, storage medium
WO2019129041A1 (en) * 2017-12-26 2019-07-04 深圳传音控股股份有限公司 Brightness adjustment method, apparatus, terminal, and computer readable storage medium
CN110012229A (en) * 2019-04-12 2019-07-12 维沃移动通信有限公司 A kind of image processing method and terminal
CN110430364A (en) * 2019-08-26 2019-11-08 武汉众果科技有限公司 A kind of stingy figure local dynamic station figure synthetic method of taking pictures of photographing
CN111901477A (en) * 2019-05-06 2020-11-06 苹果公司 User interface for capturing and managing visual media
US11039074B1 (en) 2020-06-01 2021-06-15 Apple Inc. User interfaces for managing media
CN112991242A (en) * 2019-12-13 2021-06-18 RealMe重庆移动通信有限公司 Image processing method, image processing apparatus, storage medium, and terminal device
US11102414B2 (en) 2015-04-23 2021-08-24 Apple Inc. Digital viewfinder user interface for multiple cameras
US11112964B2 (en) 2018-02-09 2021-09-07 Apple Inc. Media capture lock affordance for graphical user interface
US11128792B2 (en) 2018-09-28 2021-09-21 Apple Inc. Capturing and displaying images with multiple focal planes
US11165949B2 (en) 2016-06-12 2021-11-02 Apple Inc. User interface for capturing photos with different camera magnifications
US11178335B2 (en) 2018-05-07 2021-11-16 Apple Inc. Creative camera
CN113794831A (en) * 2021-08-13 2021-12-14 维沃移动通信(杭州)有限公司 Video shooting method and device, electronic equipment and medium
US11204692B2 (en) 2017-06-04 2021-12-21 Apple Inc. User interface camera effects
US11212449B1 (en) 2020-09-25 2021-12-28 Apple Inc. User interfaces for media capture and management
US11223771B2 (en) 2019-05-06 2022-01-11 Apple Inc. User interfaces for capturing and managing visual media
US11321857B2 (en) 2018-09-28 2022-05-03 Apple Inc. Displaying and editing images with depth information
US11350026B1 (en) 2021-04-30 2022-05-31 Apple Inc. User interfaces for altering visual media
US11706521B2 (en) 2019-05-06 2023-07-18 Apple Inc. User interfaces for capturing and managing visual media
US11722764B2 (en) 2018-05-07 2023-08-08 Apple Inc. Creative camera
US11770601B2 (en) 2019-05-06 2023-09-26 Apple Inc. User interfaces for capturing and managing visual media
US11778339B2 (en) 2021-04-30 2023-10-03 Apple Inc. User interfaces for altering visual media

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5940139A (en) * 1996-08-07 1999-08-17 Bell Communications Research, Inc. Background extraction in a video picture
CN101938604A (en) * 2009-07-02 2011-01-05 联想(北京)有限公司 Image processing method and camera
CN102063610A (en) * 2009-11-13 2011-05-18 鸿富锦精密工业(深圳)有限公司 Image identification system and method thereof
CN104580910A (en) * 2015-01-09 2015-04-29 宇龙计算机通信科技(深圳)有限公司 Image synthesis method and system based on front camera and rear camera
CN105005992A (en) * 2015-07-07 2015-10-28 南京华捷艾米软件科技有限公司 Background modeling and foreground extraction method based on depth map
CN105611146A (en) * 2015-09-30 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Imaging method based on double cameras and apparatus thereof
CN105678696A (en) * 2014-11-20 2016-06-15 联想(北京)有限公司 Image acquisition method and electronic equipment
CN105957045A (en) * 2016-04-29 2016-09-21 珠海市魅族科技有限公司 Picture synthesis method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5940139A (en) * 1996-08-07 1999-08-17 Bell Communications Research, Inc. Background extraction in a video picture
CN101938604A (en) * 2009-07-02 2011-01-05 联想(北京)有限公司 Image processing method and camera
CN102063610A (en) * 2009-11-13 2011-05-18 鸿富锦精密工业(深圳)有限公司 Image identification system and method thereof
CN105678696A (en) * 2014-11-20 2016-06-15 联想(北京)有限公司 Image acquisition method and electronic equipment
CN104580910A (en) * 2015-01-09 2015-04-29 宇龙计算机通信科技(深圳)有限公司 Image synthesis method and system based on front camera and rear camera
CN105005992A (en) * 2015-07-07 2015-10-28 南京华捷艾米软件科技有限公司 Background modeling and foreground extraction method based on depth map
CN105611146A (en) * 2015-09-30 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Imaging method based on double cameras and apparatus thereof
CN105957045A (en) * 2016-04-29 2016-09-21 珠海市魅族科技有限公司 Picture synthesis method and device

Cited By (46)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11490017B2 (en) 2015-04-23 2022-11-01 Apple Inc. Digital viewfinder user interface for multiple cameras
US11102414B2 (en) 2015-04-23 2021-08-24 Apple Inc. Digital viewfinder user interface for multiple cameras
US11711614B2 (en) 2015-04-23 2023-07-25 Apple Inc. Digital viewfinder user interface for multiple cameras
US11245837B2 (en) 2016-06-12 2022-02-08 Apple Inc. User interface for camera effects
US11962889B2 (en) 2016-06-12 2024-04-16 Apple Inc. User interface for camera effects
US11641517B2 (en) 2016-06-12 2023-05-02 Apple Inc. User interface for camera effects
US11165949B2 (en) 2016-06-12 2021-11-02 Apple Inc. User interface for capturing photos with different camera magnifications
CN106851113A (en) * 2017-03-30 2017-06-13 努比亚技术有限公司 A kind of photographic method and mobile terminal based on dual camera
CN107133939A (en) * 2017-04-24 2017-09-05 努比亚技术有限公司 A kind of picture synthesis method, equipment and computer-readable recording medium
CN108810326A (en) * 2017-04-27 2018-11-13 中兴通讯股份有限公司 A kind of photographic method, device and mobile terminal
US11687224B2 (en) 2017-06-04 2023-06-27 Apple Inc. User interface camera effects
US11204692B2 (en) 2017-06-04 2021-12-21 Apple Inc. User interface camera effects
CN109218630A (en) * 2017-07-06 2019-01-15 腾讯科技(深圳)有限公司 A kind of method for processing multimedia information and device, terminal, storage medium
CN109218630B (en) * 2017-07-06 2022-04-12 腾讯科技(深圳)有限公司 Multimedia information processing method and device, terminal and storage medium
CN107767430A (en) * 2017-09-21 2018-03-06 努比亚技术有限公司 One kind shooting processing method, terminal and computer-readable recording medium
WO2019129041A1 (en) * 2017-12-26 2019-07-04 深圳传音控股股份有限公司 Brightness adjustment method, apparatus, terminal, and computer readable storage medium
CN108322644A (en) * 2018-01-18 2018-07-24 努比亚技术有限公司 A kind of image processing method, mobile terminal and computer readable storage medium
US11112964B2 (en) 2018-02-09 2021-09-07 Apple Inc. Media capture lock affordance for graphical user interface
US11977731B2 (en) 2018-02-09 2024-05-07 Apple Inc. Media capture lock affordance for graphical user interface
US11178335B2 (en) 2018-05-07 2021-11-16 Apple Inc. Creative camera
US11722764B2 (en) 2018-05-07 2023-08-08 Apple Inc. Creative camera
CN108965695A (en) * 2018-06-27 2018-12-07 努比亚技术有限公司 A kind of image pickup method, mobile terminal and computer readable storage medium
US11895391B2 (en) 2018-09-28 2024-02-06 Apple Inc. Capturing and displaying images with multiple focal planes
US11128792B2 (en) 2018-09-28 2021-09-21 Apple Inc. Capturing and displaying images with multiple focal planes
US11669985B2 (en) 2018-09-28 2023-06-06 Apple Inc. Displaying and editing images with depth information
US11321857B2 (en) 2018-09-28 2022-05-03 Apple Inc. Displaying and editing images with depth information
CN110012229A (en) * 2019-04-12 2019-07-12 维沃移动通信有限公司 A kind of image processing method and terminal
CN110012229B (en) * 2019-04-12 2021-01-08 维沃移动通信有限公司 Image processing method and terminal
US11770601B2 (en) 2019-05-06 2023-09-26 Apple Inc. User interfaces for capturing and managing visual media
US11706521B2 (en) 2019-05-06 2023-07-18 Apple Inc. User interfaces for capturing and managing visual media
CN111901477A (en) * 2019-05-06 2020-11-06 苹果公司 User interface for capturing and managing visual media
US11223771B2 (en) 2019-05-06 2022-01-11 Apple Inc. User interfaces for capturing and managing visual media
CN110430364A (en) * 2019-08-26 2019-11-08 武汉众果科技有限公司 A kind of stingy figure local dynamic station figure synthetic method of taking pictures of photographing
CN112991242A (en) * 2019-12-13 2021-06-18 RealMe重庆移动通信有限公司 Image processing method, image processing apparatus, storage medium, and terminal device
US11617022B2 (en) 2020-06-01 2023-03-28 Apple Inc. User interfaces for managing media
US11330184B2 (en) 2020-06-01 2022-05-10 Apple Inc. User interfaces for managing media
US11054973B1 (en) 2020-06-01 2021-07-06 Apple Inc. User interfaces for managing media
US11039074B1 (en) 2020-06-01 2021-06-15 Apple Inc. User interfaces for managing media
US11212449B1 (en) 2020-09-25 2021-12-28 Apple Inc. User interfaces for media capture and management
US11539876B2 (en) 2021-04-30 2022-12-27 Apple Inc. User interfaces for altering visual media
US11418699B1 (en) 2021-04-30 2022-08-16 Apple Inc. User interfaces for altering visual media
US11416134B1 (en) 2021-04-30 2022-08-16 Apple Inc. User interfaces for altering visual media
US11350026B1 (en) 2021-04-30 2022-05-31 Apple Inc. User interfaces for altering visual media
US11778339B2 (en) 2021-04-30 2023-10-03 Apple Inc. User interfaces for altering visual media
CN113794831B (en) * 2021-08-13 2023-08-25 维沃移动通信(杭州)有限公司 Video shooting method, device, electronic equipment and medium
CN113794831A (en) * 2021-08-13 2021-12-14 维沃移动通信(杭州)有限公司 Video shooting method and device, electronic equipment and medium

Also Published As

Publication number Publication date
WO2018053906A1 (en) 2018-03-29
CN106375662B (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN106375662A (en) Photographing method and device based on double cameras, and mobile terminal
TWI554936B (en) Image processing device, image processing method and computer product program
CN108322644A (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN105282421B (en) A kind of mist elimination image acquisition methods, device and terminal
CN105827935B (en) A kind of method and terminal of terminal sectional drawing
CN108307120B (en) Image shooting method and device and electronic terminal
CN105376473A (en) Photographing method, device and equipment
JP2009282979A (en) Image processor and image processing method
WO2019105298A1 (en) Image blurring processing method, device, mobile device and storage medium
CN113313661A (en) Image fusion method and device, electronic equipment and computer readable storage medium
CN110611768B (en) Multiple exposure photographic method and device
CN105847676A (en) Image processing method and apparatus
CN104853082B (en) A kind of method and device for the picture that pans
CN106612392A (en) Image shooting method and device based on double cameras
CN103369238B (en) Image creating device and image creating method
WO2022001806A1 (en) Image transformation method and apparatus
CN110868540B (en) Terminal mirror photographing method, terminal and computer readable storage medium
CN110266954A (en) Image processing method, device, storage medium and electronic equipment
KR101294735B1 (en) Image processing method and photographing apparatus using the same
CN110740260A (en) shooting method, device and computer readable storage medium
JP2022103020A (en) Photographing method and device, terminal, and storage medium
CN108022227B (en) Black and white background picture acquisition method and device and computer readable storage medium
CN111526282A (en) Method and device for shooting with adjustable depth of field based on flight time
CN104994280B (en) A kind of preview image processing method and user terminal
JP6909317B2 (en) Image processing model training methods, equipment and media

Legal Events

Date Code Title Description
C06 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